-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade TF provider to 1.59.0 (#1960)
## Changes Notable changes: * Fixes dashboard deployment if it was trashed out-of-band. * Removes client-side validation for single-node cluster configuration (also see #1546). Beware: for the same reason as in #1900, this excludes the changes for the quality monitor resource. ## Tests Integration tests pass.
- Loading branch information
Showing
13 changed files
with
331 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package schema | ||
|
||
const ProviderVersion = "1.58.0" | ||
const ProviderVersion = "1.59.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
bundle/internal/tf/schema/data_source_mws_network_connectivity_config.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Generated from Databricks Terraform provider schema. DO NOT EDIT. | ||
|
||
package schema | ||
|
||
type DataSourceMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule struct { | ||
CidrBlocks []string `json:"cidr_blocks,omitempty"` | ||
} | ||
|
||
type DataSourceMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule struct { | ||
Subnets []string `json:"subnets,omitempty"` | ||
TargetRegion string `json:"target_region,omitempty"` | ||
TargetServices []string `json:"target_services,omitempty"` | ||
} | ||
|
||
type DataSourceMwsNetworkConnectivityConfigEgressConfigDefaultRules struct { | ||
AwsStableIpRule *DataSourceMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule `json:"aws_stable_ip_rule,omitempty"` | ||
AzureServiceEndpointRule *DataSourceMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule `json:"azure_service_endpoint_rule,omitempty"` | ||
} | ||
|
||
type DataSourceMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRules struct { | ||
ConnectionState string `json:"connection_state,omitempty"` | ||
CreationTime int `json:"creation_time,omitempty"` | ||
Deactivated bool `json:"deactivated,omitempty"` | ||
DeactivatedAt int `json:"deactivated_at,omitempty"` | ||
EndpointName string `json:"endpoint_name,omitempty"` | ||
GroupId string `json:"group_id,omitempty"` | ||
NetworkConnectivityConfigId string `json:"network_connectivity_config_id,omitempty"` | ||
ResourceId string `json:"resource_id,omitempty"` | ||
RuleId string `json:"rule_id,omitempty"` | ||
UpdatedTime int `json:"updated_time,omitempty"` | ||
} | ||
|
||
type DataSourceMwsNetworkConnectivityConfigEgressConfigTargetRules struct { | ||
AzurePrivateEndpointRules []DataSourceMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRules `json:"azure_private_endpoint_rules,omitempty"` | ||
} | ||
|
||
type DataSourceMwsNetworkConnectivityConfigEgressConfig struct { | ||
DefaultRules *DataSourceMwsNetworkConnectivityConfigEgressConfigDefaultRules `json:"default_rules,omitempty"` | ||
TargetRules *DataSourceMwsNetworkConnectivityConfigEgressConfigTargetRules `json:"target_rules,omitempty"` | ||
} | ||
|
||
type DataSourceMwsNetworkConnectivityConfig struct { | ||
AccountId string `json:"account_id,omitempty"` | ||
CreationTime int `json:"creation_time,omitempty"` | ||
Id string `json:"id,omitempty"` | ||
Name string `json:"name"` | ||
NetworkConnectivityConfigId string `json:"network_connectivity_config_id,omitempty"` | ||
Region string `json:"region,omitempty"` | ||
UpdatedTime int `json:"updated_time,omitempty"` | ||
EgressConfig *DataSourceMwsNetworkConnectivityConfigEgressConfig `json:"egress_config,omitempty"` | ||
} |
9 changes: 9 additions & 0 deletions
9
bundle/internal/tf/schema/data_source_mws_network_connectivity_configs.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Generated from Databricks Terraform provider schema. DO NOT EDIT. | ||
|
||
package schema | ||
|
||
type DataSourceMwsNetworkConnectivityConfigs struct { | ||
Id string `json:"id,omitempty"` | ||
Names []string `json:"names,omitempty"` | ||
Region string `json:"region,omitempty"` | ||
} |
52 changes: 52 additions & 0 deletions
52
bundle/internal/tf/schema/data_source_registered_model_versions.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Generated from Databricks Terraform provider schema. DO NOT EDIT. | ||
|
||
package schema | ||
|
||
type DataSourceRegisteredModelVersionsModelVersionsAliases struct { | ||
AliasName string `json:"alias_name,omitempty"` | ||
VersionNum int `json:"version_num,omitempty"` | ||
} | ||
|
||
type DataSourceRegisteredModelVersionsModelVersionsModelVersionDependenciesDependenciesFunction struct { | ||
FunctionFullName string `json:"function_full_name"` | ||
} | ||
|
||
type DataSourceRegisteredModelVersionsModelVersionsModelVersionDependenciesDependenciesTable struct { | ||
TableFullName string `json:"table_full_name"` | ||
} | ||
|
||
type DataSourceRegisteredModelVersionsModelVersionsModelVersionDependenciesDependencies struct { | ||
Function []DataSourceRegisteredModelVersionsModelVersionsModelVersionDependenciesDependenciesFunction `json:"function,omitempty"` | ||
Table []DataSourceRegisteredModelVersionsModelVersionsModelVersionDependenciesDependenciesTable `json:"table,omitempty"` | ||
} | ||
|
||
type DataSourceRegisteredModelVersionsModelVersionsModelVersionDependencies struct { | ||
Dependencies []DataSourceRegisteredModelVersionsModelVersionsModelVersionDependenciesDependencies `json:"dependencies,omitempty"` | ||
} | ||
|
||
type DataSourceRegisteredModelVersionsModelVersions struct { | ||
BrowseOnly bool `json:"browse_only,omitempty"` | ||
CatalogName string `json:"catalog_name,omitempty"` | ||
Comment string `json:"comment,omitempty"` | ||
CreatedAt int `json:"created_at,omitempty"` | ||
CreatedBy string `json:"created_by,omitempty"` | ||
Id string `json:"id,omitempty"` | ||
MetastoreId string `json:"metastore_id,omitempty"` | ||
ModelName string `json:"model_name,omitempty"` | ||
RunId string `json:"run_id,omitempty"` | ||
RunWorkspaceId int `json:"run_workspace_id,omitempty"` | ||
SchemaName string `json:"schema_name,omitempty"` | ||
Source string `json:"source,omitempty"` | ||
Status string `json:"status,omitempty"` | ||
StorageLocation string `json:"storage_location,omitempty"` | ||
UpdatedAt int `json:"updated_at,omitempty"` | ||
UpdatedBy string `json:"updated_by,omitempty"` | ||
Version int `json:"version,omitempty"` | ||
Aliases []DataSourceRegisteredModelVersionsModelVersionsAliases `json:"aliases,omitempty"` | ||
ModelVersionDependencies []DataSourceRegisteredModelVersionsModelVersionsModelVersionDependencies `json:"model_version_dependencies,omitempty"` | ||
} | ||
|
||
type DataSourceRegisteredModelVersions struct { | ||
FullName string `json:"full_name"` | ||
ModelVersions []DataSourceRegisteredModelVersionsModelVersions `json:"model_versions,omitempty"` | ||
} |
178 changes: 178 additions & 0 deletions
178
bundle/internal/tf/schema/data_source_serving_endpoints.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
// Generated from Databricks Terraform provider schema. DO NOT EDIT. | ||
|
||
package schema | ||
|
||
type DataSourceServingEndpointsEndpointsAiGatewayGuardrailsInputPii struct { | ||
Behavior string `json:"behavior"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsAiGatewayGuardrailsInput struct { | ||
InvalidKeywords []string `json:"invalid_keywords,omitempty"` | ||
Safety bool `json:"safety,omitempty"` | ||
ValidTopics []string `json:"valid_topics,omitempty"` | ||
Pii []DataSourceServingEndpointsEndpointsAiGatewayGuardrailsInputPii `json:"pii,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsAiGatewayGuardrailsOutputPii struct { | ||
Behavior string `json:"behavior"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsAiGatewayGuardrailsOutput struct { | ||
InvalidKeywords []string `json:"invalid_keywords,omitempty"` | ||
Safety bool `json:"safety,omitempty"` | ||
ValidTopics []string `json:"valid_topics,omitempty"` | ||
Pii []DataSourceServingEndpointsEndpointsAiGatewayGuardrailsOutputPii `json:"pii,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsAiGatewayGuardrails struct { | ||
Input []DataSourceServingEndpointsEndpointsAiGatewayGuardrailsInput `json:"input,omitempty"` | ||
Output []DataSourceServingEndpointsEndpointsAiGatewayGuardrailsOutput `json:"output,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsAiGatewayInferenceTableConfig struct { | ||
CatalogName string `json:"catalog_name,omitempty"` | ||
Enabled bool `json:"enabled,omitempty"` | ||
SchemaName string `json:"schema_name,omitempty"` | ||
TableNamePrefix string `json:"table_name_prefix,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsAiGatewayRateLimits struct { | ||
Calls int `json:"calls"` | ||
Key string `json:"key,omitempty"` | ||
RenewalPeriod string `json:"renewal_period"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsAiGatewayUsageTrackingConfig struct { | ||
Enabled bool `json:"enabled,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsAiGateway struct { | ||
Guardrails []DataSourceServingEndpointsEndpointsAiGatewayGuardrails `json:"guardrails,omitempty"` | ||
InferenceTableConfig []DataSourceServingEndpointsEndpointsAiGatewayInferenceTableConfig `json:"inference_table_config,omitempty"` | ||
RateLimits []DataSourceServingEndpointsEndpointsAiGatewayRateLimits `json:"rate_limits,omitempty"` | ||
UsageTrackingConfig []DataSourceServingEndpointsEndpointsAiGatewayUsageTrackingConfig `json:"usage_tracking_config,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelAi21LabsConfig struct { | ||
Ai21LabsApiKey string `json:"ai21labs_api_key,omitempty"` | ||
Ai21LabsApiKeyPlaintext string `json:"ai21labs_api_key_plaintext,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelAmazonBedrockConfig struct { | ||
AwsAccessKeyId string `json:"aws_access_key_id,omitempty"` | ||
AwsAccessKeyIdPlaintext string `json:"aws_access_key_id_plaintext,omitempty"` | ||
AwsRegion string `json:"aws_region"` | ||
AwsSecretAccessKey string `json:"aws_secret_access_key,omitempty"` | ||
AwsSecretAccessKeyPlaintext string `json:"aws_secret_access_key_plaintext,omitempty"` | ||
BedrockProvider string `json:"bedrock_provider"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelAnthropicConfig struct { | ||
AnthropicApiKey string `json:"anthropic_api_key,omitempty"` | ||
AnthropicApiKeyPlaintext string `json:"anthropic_api_key_plaintext,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelCohereConfig struct { | ||
CohereApiBase string `json:"cohere_api_base,omitempty"` | ||
CohereApiKey string `json:"cohere_api_key,omitempty"` | ||
CohereApiKeyPlaintext string `json:"cohere_api_key_plaintext,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelDatabricksModelServingConfig struct { | ||
DatabricksApiToken string `json:"databricks_api_token,omitempty"` | ||
DatabricksApiTokenPlaintext string `json:"databricks_api_token_plaintext,omitempty"` | ||
DatabricksWorkspaceUrl string `json:"databricks_workspace_url"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelGoogleCloudVertexAiConfig struct { | ||
PrivateKey string `json:"private_key,omitempty"` | ||
PrivateKeyPlaintext string `json:"private_key_plaintext,omitempty"` | ||
ProjectId string `json:"project_id,omitempty"` | ||
Region string `json:"region,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelOpenaiConfig struct { | ||
MicrosoftEntraClientId string `json:"microsoft_entra_client_id,omitempty"` | ||
MicrosoftEntraClientSecret string `json:"microsoft_entra_client_secret,omitempty"` | ||
MicrosoftEntraClientSecretPlaintext string `json:"microsoft_entra_client_secret_plaintext,omitempty"` | ||
MicrosoftEntraTenantId string `json:"microsoft_entra_tenant_id,omitempty"` | ||
OpenaiApiBase string `json:"openai_api_base,omitempty"` | ||
OpenaiApiKey string `json:"openai_api_key,omitempty"` | ||
OpenaiApiKeyPlaintext string `json:"openai_api_key_plaintext,omitempty"` | ||
OpenaiApiType string `json:"openai_api_type,omitempty"` | ||
OpenaiApiVersion string `json:"openai_api_version,omitempty"` | ||
OpenaiDeploymentName string `json:"openai_deployment_name,omitempty"` | ||
OpenaiOrganization string `json:"openai_organization,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelPalmConfig struct { | ||
PalmApiKey string `json:"palm_api_key,omitempty"` | ||
PalmApiKeyPlaintext string `json:"palm_api_key_plaintext,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModel struct { | ||
Name string `json:"name"` | ||
Provider string `json:"provider"` | ||
Task string `json:"task"` | ||
Ai21LabsConfig []DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelAi21LabsConfig `json:"ai21labs_config,omitempty"` | ||
AmazonBedrockConfig []DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelAmazonBedrockConfig `json:"amazon_bedrock_config,omitempty"` | ||
AnthropicConfig []DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelAnthropicConfig `json:"anthropic_config,omitempty"` | ||
CohereConfig []DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelCohereConfig `json:"cohere_config,omitempty"` | ||
DatabricksModelServingConfig []DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelDatabricksModelServingConfig `json:"databricks_model_serving_config,omitempty"` | ||
GoogleCloudVertexAiConfig []DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelGoogleCloudVertexAiConfig `json:"google_cloud_vertex_ai_config,omitempty"` | ||
OpenaiConfig []DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelOpenaiConfig `json:"openai_config,omitempty"` | ||
PalmConfig []DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModelPalmConfig `json:"palm_config,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsConfigServedEntitiesFoundationModel struct { | ||
Description string `json:"description,omitempty"` | ||
DisplayName string `json:"display_name,omitempty"` | ||
Docs string `json:"docs,omitempty"` | ||
Name string `json:"name,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsConfigServedEntities struct { | ||
EntityName string `json:"entity_name,omitempty"` | ||
EntityVersion string `json:"entity_version,omitempty"` | ||
Name string `json:"name,omitempty"` | ||
ExternalModel []DataSourceServingEndpointsEndpointsConfigServedEntitiesExternalModel `json:"external_model,omitempty"` | ||
FoundationModel []DataSourceServingEndpointsEndpointsConfigServedEntitiesFoundationModel `json:"foundation_model,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsConfigServedModels struct { | ||
ModelName string `json:"model_name,omitempty"` | ||
ModelVersion string `json:"model_version,omitempty"` | ||
Name string `json:"name,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsConfig struct { | ||
ServedEntities []DataSourceServingEndpointsEndpointsConfigServedEntities `json:"served_entities,omitempty"` | ||
ServedModels []DataSourceServingEndpointsEndpointsConfigServedModels `json:"served_models,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsState struct { | ||
ConfigUpdate string `json:"config_update,omitempty"` | ||
Ready string `json:"ready,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpointsTags struct { | ||
Key string `json:"key"` | ||
Value string `json:"value,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpointsEndpoints struct { | ||
CreationTimestamp int `json:"creation_timestamp,omitempty"` | ||
Creator string `json:"creator,omitempty"` | ||
Id string `json:"id,omitempty"` | ||
LastUpdatedTimestamp int `json:"last_updated_timestamp,omitempty"` | ||
Name string `json:"name,omitempty"` | ||
Task string `json:"task,omitempty"` | ||
AiGateway []DataSourceServingEndpointsEndpointsAiGateway `json:"ai_gateway,omitempty"` | ||
Config []DataSourceServingEndpointsEndpointsConfig `json:"config,omitempty"` | ||
State []DataSourceServingEndpointsEndpointsState `json:"state,omitempty"` | ||
Tags []DataSourceServingEndpointsEndpointsTags `json:"tags,omitempty"` | ||
} | ||
|
||
type DataSourceServingEndpoints struct { | ||
Endpoints []DataSourceServingEndpointsEndpoints `json:"endpoints,omitempty"` | ||
} |
Oops, something went wrong.