diff --git a/.nextchanges/dependency-updates/bump-tf-1.125.0.md b/.nextchanges/dependency-updates/bump-tf-1.125.0.md new file mode 100644 index 00000000000..289d3955cf8 --- /dev/null +++ b/.nextchanges/dependency-updates/bump-tf-1.125.0.md @@ -0,0 +1 @@ +Bump Terraform provider from v1.124.0 to v1.125.0. diff --git a/acceptance/bundle/user_agent/output.txt b/acceptance/bundle/user_agent/output.txt index 3fe73103691..2107e7e2b1f 100644 --- a/acceptance/bundle/user_agent/output.txt +++ b/acceptance/bundle/user_agent/output.txt @@ -41,7 +41,6 @@ OK deploy.terraform /api/2.0/workspace/delete engine/terraform OK deploy.terraform /api/2.0/workspace/mkdirs engine/terraform OK deploy.terraform /api/2.0/workspace/mkdirs engine/terraform MISS deploy.terraform /.well-known/databricks-config 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]' -MISS deploy.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS deploy.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS deploy.terraform /api/2.1/unity-catalog/schemas 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS deploy.terraform /.well-known/databricks-config 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5' @@ -73,8 +72,6 @@ OK destroy.terraform /api/2.0/workspace-files/import-file/Workspace/Users/[USE OK destroy.terraform /api/2.0/workspace/delete engine/terraform MISS destroy.terraform /.well-known/databricks-config 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]' MISS destroy.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' -MISS destroy.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' -MISS destroy.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS destroy.terraform /api/2.1/unity-catalog/current-metastore-assignment 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS destroy.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5' @@ -110,7 +107,6 @@ MISS plan2.terraform /api/2.0/workspace/get-status 'cli/[CLI_VERSION] databricks OK plan2.terraform /api/2.0/workspace-files/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deployment.json engine/terraform OK plan2.terraform /api/2.0/workspace/get-status engine/terraform MISS plan2.terraform /.well-known/databricks-config 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]' -MISS plan2.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS plan2.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS plan2.terraform /.well-known/databricks-config 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5' MISS plan2.terraform /.well-known/databricks-config 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5' diff --git a/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json b/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json index 9bfe34ca4dd..cb67aafe1b4 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json @@ -339,18 +339,6 @@ "method": "GET", "path": "/.well-known/databricks-config" } -{ - "headers": { - "User-Agent": [ - "databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" - ] - }, - "method": "GET", - "path": "/api/2.0/preview/scim/v2/Me", - "q": { - "excludedAttributes": "entitlements" - } -} { "headers": { "User-Agent": [ diff --git a/acceptance/bundle/user_agent/simple/out.requests.destroy.terraform.json b/acceptance/bundle/user_agent/simple/out.requests.destroy.terraform.json index a8119cf870d..09b923be4dd 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.destroy.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.destroy.terraform.json @@ -145,30 +145,6 @@ "force": "true" } } -{ - "headers": { - "User-Agent": [ - "databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" - ] - }, - "method": "GET", - "path": "/api/2.0/preview/scim/v2/Me", - "q": { - "excludedAttributes": "entitlements" - } -} -{ - "headers": { - "User-Agent": [ - "databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" - ] - }, - "method": "GET", - "path": "/api/2.0/preview/scim/v2/Me", - "q": { - "excludedAttributes": "entitlements" - } -} { "headers": { "User-Agent": [ diff --git a/acceptance/bundle/user_agent/simple/out.requests.plan2.terraform.json b/acceptance/bundle/user_agent/simple/out.requests.plan2.terraform.json index a8a40749b8b..01f69d2c457 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.plan2.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.plan2.terraform.json @@ -73,18 +73,6 @@ "method": "GET", "path": "/.well-known/databricks-config" } -{ - "headers": { - "User-Agent": [ - "databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" - ] - }, - "method": "GET", - "path": "/api/2.0/preview/scim/v2/Me", - "q": { - "excludedAttributes": "entitlements" - } -} { "headers": { "User-Agent": [ diff --git a/bundle/internal/tf/codegen/schema/version.go b/bundle/internal/tf/codegen/schema/version.go index 5c938d73eb2..4fa3431f7bb 100644 --- a/bundle/internal/tf/codegen/schema/version.go +++ b/bundle/internal/tf/codegen/schema/version.go @@ -1,4 +1,4 @@ package schema // ProviderVersion is the version of the Databricks Terraform provider used for codegen. -const ProviderVersion = "1.124.0" +const ProviderVersion = "1.125.0" diff --git a/bundle/internal/tf/schema/data_source_alert_v2.go b/bundle/internal/tf/schema/data_source_alert_v2.go index bb45eb55914..c609a8f9189 100644 --- a/bundle/internal/tf/schema/data_source_alert_v2.go +++ b/bundle/internal/tf/schema/data_source_alert_v2.go @@ -53,12 +53,6 @@ type DataSourceAlertV2Evaluation struct { Threshold *DataSourceAlertV2EvaluationThreshold `json:"threshold,omitempty"` } -type DataSourceAlertV2Parameters struct { - Name string `json:"name"` - Type string `json:"type,omitempty"` - Value string `json:"value,omitempty"` -} - type DataSourceAlertV2ProviderConfig struct { WorkspaceId string `json:"workspace_id,omitempty"` } @@ -84,7 +78,6 @@ type DataSourceAlertV2 struct { Id string `json:"id"` LifecycleState string `json:"lifecycle_state,omitempty"` OwnerUserName string `json:"owner_user_name,omitempty"` - Parameters []DataSourceAlertV2Parameters `json:"parameters,omitempty"` ParentPath string `json:"parent_path,omitempty"` ProviderConfig *DataSourceAlertV2ProviderConfig `json:"provider_config,omitempty"` QueryText string `json:"query_text,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_alerts_v2.go b/bundle/internal/tf/schema/data_source_alerts_v2.go index d61adb2929d..5675e0aa56c 100644 --- a/bundle/internal/tf/schema/data_source_alerts_v2.go +++ b/bundle/internal/tf/schema/data_source_alerts_v2.go @@ -53,12 +53,6 @@ type DataSourceAlertsV2AlertsEvaluation struct { Threshold *DataSourceAlertsV2AlertsEvaluationThreshold `json:"threshold,omitempty"` } -type DataSourceAlertsV2AlertsParameters struct { - Name string `json:"name"` - Type string `json:"type,omitempty"` - Value string `json:"value,omitempty"` -} - type DataSourceAlertsV2AlertsProviderConfig struct { WorkspaceId string `json:"workspace_id,omitempty"` } @@ -84,7 +78,6 @@ type DataSourceAlertsV2Alerts struct { Id string `json:"id"` LifecycleState string `json:"lifecycle_state,omitempty"` OwnerUserName string `json:"owner_user_name,omitempty"` - Parameters []DataSourceAlertsV2AlertsParameters `json:"parameters,omitempty"` ParentPath string `json:"parent_path,omitempty"` ProviderConfig *DataSourceAlertsV2AlertsProviderConfig `json:"provider_config,omitempty"` QueryText string `json:"query_text,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_cluster.go b/bundle/internal/tf/schema/data_source_cluster.go index 0623526dcf1..5d65b2f989b 100644 --- a/bundle/internal/tf/schema/data_source_cluster.go +++ b/bundle/internal/tf/schema/data_source_cluster.go @@ -348,7 +348,6 @@ type DataSourceClusterClusterInfoSpec struct { ClusterName string `json:"cluster_name,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` @@ -414,7 +413,6 @@ type DataSourceClusterClusterInfo struct { CustomTags map[string]string `json:"custom_tags,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"` DefaultTags map[string]string `json:"default_tags,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_data_classification_catalog_config.go b/bundle/internal/tf/schema/data_source_data_classification_catalog_config.go index 5b2b55193af..9ad6965e041 100644 --- a/bundle/internal/tf/schema/data_source_data_classification_catalog_config.go +++ b/bundle/internal/tf/schema/data_source_data_classification_catalog_config.go @@ -7,10 +7,6 @@ type DataSourceDataClassificationCatalogConfigAutoTagConfigs struct { ClassificationTag string `json:"classification_tag"` } -type DataSourceDataClassificationCatalogConfigExcludedSchemas struct { - Names []string `json:"names"` -} - type DataSourceDataClassificationCatalogConfigIncludedSchemas struct { Names []string `json:"names"` } @@ -21,7 +17,6 @@ type DataSourceDataClassificationCatalogConfigProviderConfig struct { type DataSourceDataClassificationCatalogConfig struct { AutoTagConfigs []DataSourceDataClassificationCatalogConfigAutoTagConfigs `json:"auto_tag_configs,omitempty"` - ExcludedSchemas *DataSourceDataClassificationCatalogConfigExcludedSchemas `json:"excluded_schemas,omitempty"` IncludedSchemas *DataSourceDataClassificationCatalogConfigIncludedSchemas `json:"included_schemas,omitempty"` Name string `json:"name"` ProviderConfig *DataSourceDataClassificationCatalogConfigProviderConfig `json:"provider_config,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_disaster_recovery_stable_url.go b/bundle/internal/tf/schema/data_source_disaster_recovery_stable_url.go index b74a5f1bfc9..f9dd842b9cc 100644 --- a/bundle/internal/tf/schema/data_source_disaster_recovery_stable_url.go +++ b/bundle/internal/tf/schema/data_source_disaster_recovery_stable_url.go @@ -3,10 +3,8 @@ package schema type DataSourceDisasterRecoveryStableUrl struct { - EffectiveWorkspaceId string `json:"effective_workspace_id,omitempty"` - FailoverGroupName string `json:"failover_group_name,omitempty"` - InitialWorkspaceId string `json:"initial_workspace_id,omitempty"` - Name string `json:"name"` - StableWorkspaceId string `json:"stable_workspace_id,omitempty"` - Url string `json:"url,omitempty"` + FailoverGroupName string `json:"failover_group_name,omitempty"` + InitialWorkspaceId string `json:"initial_workspace_id,omitempty"` + Name string `json:"name"` + Url string `json:"url,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_disaster_recovery_stable_urls.go b/bundle/internal/tf/schema/data_source_disaster_recovery_stable_urls.go index 86ceb56f6b8..8103667696e 100644 --- a/bundle/internal/tf/schema/data_source_disaster_recovery_stable_urls.go +++ b/bundle/internal/tf/schema/data_source_disaster_recovery_stable_urls.go @@ -3,12 +3,10 @@ package schema type DataSourceDisasterRecoveryStableUrlsStableUrls struct { - EffectiveWorkspaceId string `json:"effective_workspace_id,omitempty"` - FailoverGroupName string `json:"failover_group_name,omitempty"` - InitialWorkspaceId string `json:"initial_workspace_id,omitempty"` - Name string `json:"name"` - StableWorkspaceId string `json:"stable_workspace_id,omitempty"` - Url string `json:"url,omitempty"` + FailoverGroupName string `json:"failover_group_name,omitempty"` + InitialWorkspaceId string `json:"initial_workspace_id,omitempty"` + Name string `json:"name"` + Url string `json:"url,omitempty"` } type DataSourceDisasterRecoveryStableUrls struct { diff --git a/bundle/internal/tf/schema/data_source_endpoint.go b/bundle/internal/tf/schema/data_source_endpoint.go index 1fd4ac10f57..39e726b8b1f 100644 --- a/bundle/internal/tf/schema/data_source_endpoint.go +++ b/bundle/internal/tf/schema/data_source_endpoint.go @@ -2,12 +2,6 @@ package schema -type DataSourceEndpointAwsVpcEndpointInfo struct { - AwsAccountId string `json:"aws_account_id,omitempty"` - AwsEndpointServiceId string `json:"aws_endpoint_service_id,omitempty"` - AwsVpcEndpointId string `json:"aws_vpc_endpoint_id"` -} - type DataSourceEndpointAzurePrivateEndpointInfo struct { PrivateEndpointName string `json:"private_endpoint_name"` PrivateEndpointResourceGuid string `json:"private_endpoint_resource_guid"` @@ -15,22 +9,12 @@ type DataSourceEndpointAzurePrivateEndpointInfo struct { PrivateLinkServiceId string `json:"private_link_service_id,omitempty"` } -type DataSourceEndpointGcpPscEndpointInfo struct { - EndpointRegion string `json:"endpoint_region"` - ProjectId string `json:"project_id"` - PscConnectionId string `json:"psc_connection_id,omitempty"` - PscEndpoint string `json:"psc_endpoint"` - ServiceAttachmentId string `json:"service_attachment_id,omitempty"` -} - type DataSourceEndpoint struct { AccountId string `json:"account_id,omitempty"` - AwsVpcEndpointInfo *DataSourceEndpointAwsVpcEndpointInfo `json:"aws_vpc_endpoint_info,omitempty"` AzurePrivateEndpointInfo *DataSourceEndpointAzurePrivateEndpointInfo `json:"azure_private_endpoint_info,omitempty"` CreateTime string `json:"create_time,omitempty"` DisplayName string `json:"display_name,omitempty"` EndpointId string `json:"endpoint_id,omitempty"` - GcpPscEndpointInfo *DataSourceEndpointGcpPscEndpointInfo `json:"gcp_psc_endpoint_info,omitempty"` Name string `json:"name"` Region string `json:"region,omitempty"` State string `json:"state,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_endpoints.go b/bundle/internal/tf/schema/data_source_endpoints.go index 56dc425760e..1cef5b123aa 100644 --- a/bundle/internal/tf/schema/data_source_endpoints.go +++ b/bundle/internal/tf/schema/data_source_endpoints.go @@ -2,12 +2,6 @@ package schema -type DataSourceEndpointsItemsAwsVpcEndpointInfo struct { - AwsAccountId string `json:"aws_account_id,omitempty"` - AwsEndpointServiceId string `json:"aws_endpoint_service_id,omitempty"` - AwsVpcEndpointId string `json:"aws_vpc_endpoint_id"` -} - type DataSourceEndpointsItemsAzurePrivateEndpointInfo struct { PrivateEndpointName string `json:"private_endpoint_name"` PrivateEndpointResourceGuid string `json:"private_endpoint_resource_guid"` @@ -15,22 +9,12 @@ type DataSourceEndpointsItemsAzurePrivateEndpointInfo struct { PrivateLinkServiceId string `json:"private_link_service_id,omitempty"` } -type DataSourceEndpointsItemsGcpPscEndpointInfo struct { - EndpointRegion string `json:"endpoint_region"` - ProjectId string `json:"project_id"` - PscConnectionId string `json:"psc_connection_id,omitempty"` - PscEndpoint string `json:"psc_endpoint"` - ServiceAttachmentId string `json:"service_attachment_id,omitempty"` -} - type DataSourceEndpointsItems struct { AccountId string `json:"account_id,omitempty"` - AwsVpcEndpointInfo *DataSourceEndpointsItemsAwsVpcEndpointInfo `json:"aws_vpc_endpoint_info,omitempty"` AzurePrivateEndpointInfo *DataSourceEndpointsItemsAzurePrivateEndpointInfo `json:"azure_private_endpoint_info,omitempty"` CreateTime string `json:"create_time,omitempty"` DisplayName string `json:"display_name,omitempty"` EndpointId string `json:"endpoint_id,omitempty"` - GcpPscEndpointInfo *DataSourceEndpointsItemsGcpPscEndpointInfo `json:"gcp_psc_endpoint_info,omitempty"` Name string `json:"name"` Region string `json:"region,omitempty"` State string `json:"state,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_feature.go b/bundle/internal/tf/schema/data_source_feature_engineering_feature.go index ea1ec37cee9..103d9a9da2f 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_feature.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_feature.go @@ -29,30 +29,10 @@ type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionFirst struct Input string `json:"input"` } -type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstDistinct struct { - Input string `json:"input"` - N int `json:"n"` -} - -type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstN struct { - Input string `json:"input"` - N int `json:"n"` -} - type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionLast struct { Input string `json:"input"` } -type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionLastDistinct struct { - Input string `json:"input"` - N int `json:"n"` -} - -type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionLastN struct { - Input string `json:"input"` - N int `json:"n"` -} - type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionMax struct { Input string `json:"input"` } @@ -80,17 +60,12 @@ type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowCon type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` -} - -type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSawtooth struct { - Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbling struct { @@ -100,7 +75,6 @@ type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTum type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindow struct { Continuous *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowContinuous `json:"continuous,omitempty"` Rolling *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling `json:"rolling,omitempty"` - Sawtooth *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSawtooth `json:"sawtooth,omitempty"` Sliding *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSliding `json:"sliding,omitempty"` Tumbling *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbling `json:"tumbling,omitempty"` } @@ -119,11 +93,7 @@ type DataSourceFeatureEngineeringFeatureFunctionAggregationFunction struct { Avg *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionAvg `json:"avg,omitempty"` CountFunction *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionCountFunction `json:"count_function,omitempty"` First *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionFirst `json:"first,omitempty"` - FirstDistinct *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstDistinct `json:"first_distinct,omitempty"` - FirstN *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstN `json:"first_n,omitempty"` Last *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionLast `json:"last,omitempty"` - LastDistinct *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionLastDistinct `json:"last_distinct,omitempty"` - LastN *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionLastN `json:"last_n,omitempty"` Max *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionMax `json:"max,omitempty"` Min *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionMin `json:"min,omitempty"` StddevPop *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionStddevPop `json:"stddev_pop,omitempty"` @@ -202,10 +172,8 @@ type DataSourceFeatureEngineeringFeatureSourceRequestSource struct { } type DataSourceFeatureEngineeringFeatureSourceStreamSource struct { - DataframeSchema string `json:"dataframe_schema,omitempty"` - FilterCondition string `json:"filter_condition,omitempty"` - FullName string `json:"full_name"` - TransformationSql string `json:"transformation_sql,omitempty"` + FilterCondition string `json:"filter_condition,omitempty"` + FullName string `json:"full_name"` } type DataSourceFeatureEngineeringFeatureSource struct { @@ -222,17 +190,12 @@ type DataSourceFeatureEngineeringFeatureTimeWindowContinuous struct { type DataSourceFeatureEngineeringFeatureTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` -} - -type DataSourceFeatureEngineeringFeatureTimeWindowSawtooth struct { - Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeatureTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeatureTimeWindowTumbling struct { @@ -242,7 +205,6 @@ type DataSourceFeatureEngineeringFeatureTimeWindowTumbling struct { type DataSourceFeatureEngineeringFeatureTimeWindow struct { Continuous *DataSourceFeatureEngineeringFeatureTimeWindowContinuous `json:"continuous,omitempty"` Rolling *DataSourceFeatureEngineeringFeatureTimeWindowRolling `json:"rolling,omitempty"` - Sawtooth *DataSourceFeatureEngineeringFeatureTimeWindowSawtooth `json:"sawtooth,omitempty"` Sliding *DataSourceFeatureEngineeringFeatureTimeWindowSliding `json:"sliding,omitempty"` Tumbling *DataSourceFeatureEngineeringFeatureTimeWindowTumbling `json:"tumbling,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_features.go b/bundle/internal/tf/schema/data_source_feature_engineering_features.go index a153b7237cb..9da09724ce8 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_features.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_features.go @@ -29,30 +29,10 @@ type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionFirs Input string `json:"input"` } -type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionFirstDistinct struct { - Input string `json:"input"` - N int `json:"n"` -} - -type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionFirstN struct { - Input string `json:"input"` - N int `json:"n"` -} - type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionLast struct { Input string `json:"input"` } -type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionLastDistinct struct { - Input string `json:"input"` - N int `json:"n"` -} - -type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionLastN struct { - Input string `json:"input"` - N int `json:"n"` -} - type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionMax struct { Input string `json:"input"` } @@ -80,17 +60,12 @@ type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTime type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` -} - -type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowSawtooth struct { - Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowTumbling struct { @@ -100,7 +75,6 @@ type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTime type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindow struct { Continuous *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowContinuous `json:"continuous,omitempty"` Rolling *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowRolling `json:"rolling,omitempty"` - Sawtooth *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowSawtooth `json:"sawtooth,omitempty"` Sliding *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowSliding `json:"sliding,omitempty"` Tumbling *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowTumbling `json:"tumbling,omitempty"` } @@ -119,11 +93,7 @@ type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunction str Avg *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionAvg `json:"avg,omitempty"` CountFunction *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionCountFunction `json:"count_function,omitempty"` First *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionFirst `json:"first,omitempty"` - FirstDistinct *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionFirstDistinct `json:"first_distinct,omitempty"` - FirstN *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionFirstN `json:"first_n,omitempty"` Last *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionLast `json:"last,omitempty"` - LastDistinct *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionLastDistinct `json:"last_distinct,omitempty"` - LastN *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionLastN `json:"last_n,omitempty"` Max *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionMax `json:"max,omitempty"` Min *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionMin `json:"min,omitempty"` StddevPop *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionStddevPop `json:"stddev_pop,omitempty"` @@ -202,10 +172,8 @@ type DataSourceFeatureEngineeringFeaturesFeaturesSourceRequestSource struct { } type DataSourceFeatureEngineeringFeaturesFeaturesSourceStreamSource struct { - DataframeSchema string `json:"dataframe_schema,omitempty"` - FilterCondition string `json:"filter_condition,omitempty"` - FullName string `json:"full_name"` - TransformationSql string `json:"transformation_sql,omitempty"` + FilterCondition string `json:"filter_condition,omitempty"` + FullName string `json:"full_name"` } type DataSourceFeatureEngineeringFeaturesFeaturesSource struct { @@ -222,17 +190,12 @@ type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowContinuous struct { type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` -} - -type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowSawtooth struct { - Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowTumbling struct { @@ -242,7 +205,6 @@ type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowTumbling struct { type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindow struct { Continuous *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowContinuous `json:"continuous,omitempty"` Rolling *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowRolling `json:"rolling,omitempty"` - Sawtooth *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowSawtooth `json:"sawtooth,omitempty"` Sliding *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowSliding `json:"sliding,omitempty"` Tumbling *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowTumbling `json:"tumbling,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_kafka_config.go b/bundle/internal/tf/schema/data_source_feature_engineering_kafka_config.go index 4823fbc0f33..eb7cbb47c01 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_kafka_config.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_kafka_config.go @@ -72,15 +72,8 @@ type DataSourceFeatureEngineeringKafkaConfigIngestionConfig struct { IngestionPipelineId string `json:"ingestion_pipeline_id,omitempty"` } -type DataSourceFeatureEngineeringKafkaConfigKeySchemaProtoSchema struct { - MessageName string `json:"message_name"` - SchemaText string `json:"schema_text"` -} - type DataSourceFeatureEngineeringKafkaConfigKeySchema struct { - AvroSchema string `json:"avro_schema,omitempty"` - JsonSchema string `json:"json_schema,omitempty"` - ProtoSchema *DataSourceFeatureEngineeringKafkaConfigKeySchemaProtoSchema `json:"proto_schema,omitempty"` + JsonSchema string `json:"json_schema,omitempty"` } type DataSourceFeatureEngineeringKafkaConfigProviderConfig struct { @@ -93,15 +86,8 @@ type DataSourceFeatureEngineeringKafkaConfigSubscriptionMode struct { SubscribePattern string `json:"subscribe_pattern,omitempty"` } -type DataSourceFeatureEngineeringKafkaConfigValueSchemaProtoSchema struct { - MessageName string `json:"message_name"` - SchemaText string `json:"schema_text"` -} - type DataSourceFeatureEngineeringKafkaConfigValueSchema struct { - AvroSchema string `json:"avro_schema,omitempty"` - JsonSchema string `json:"json_schema,omitempty"` - ProtoSchema *DataSourceFeatureEngineeringKafkaConfigValueSchemaProtoSchema `json:"proto_schema,omitempty"` + JsonSchema string `json:"json_schema,omitempty"` } type DataSourceFeatureEngineeringKafkaConfig struct { diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_kafka_configs.go b/bundle/internal/tf/schema/data_source_feature_engineering_kafka_configs.go index eff88ba43a6..06fd36a903b 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_kafka_configs.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_kafka_configs.go @@ -72,15 +72,8 @@ type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsIngestionConfig struct IngestionPipelineId string `json:"ingestion_pipeline_id,omitempty"` } -type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsKeySchemaProtoSchema struct { - MessageName string `json:"message_name"` - SchemaText string `json:"schema_text"` -} - type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsKeySchema struct { - AvroSchema string `json:"avro_schema,omitempty"` - JsonSchema string `json:"json_schema,omitempty"` - ProtoSchema *DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsKeySchemaProtoSchema `json:"proto_schema,omitempty"` + JsonSchema string `json:"json_schema,omitempty"` } type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsProviderConfig struct { @@ -93,15 +86,8 @@ type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsSubscriptionMode struct SubscribePattern string `json:"subscribe_pattern,omitempty"` } -type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsValueSchemaProtoSchema struct { - MessageName string `json:"message_name"` - SchemaText string `json:"schema_text"` -} - type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsValueSchema struct { - AvroSchema string `json:"avro_schema,omitempty"` - JsonSchema string `json:"json_schema,omitempty"` - ProtoSchema *DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsValueSchemaProtoSchema `json:"proto_schema,omitempty"` + JsonSchema string `json:"json_schema,omitempty"` } type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigs struct { diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_materialized_feature.go b/bundle/internal/tf/schema/data_source_feature_engineering_materialized_feature.go index fedd8da0f7e..eeaf8d096d1 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_materialized_feature.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_materialized_feature.go @@ -24,8 +24,7 @@ type DataSourceFeatureEngineeringMaterializedFeatureProviderConfig struct { } type DataSourceFeatureEngineeringMaterializedFeatureStreamingMode struct { - FreshnessTarget string `json:"freshness_target,omitempty"` - Mode string `json:"mode,omitempty"` + Mode string `json:"mode,omitempty"` } type DataSourceFeatureEngineeringMaterializedFeatureTableTrigger struct{} diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_materialized_features.go b/bundle/internal/tf/schema/data_source_feature_engineering_materialized_features.go index dbedd725190..cf95ba9f289 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_materialized_features.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_materialized_features.go @@ -24,8 +24,7 @@ type DataSourceFeatureEngineeringMaterializedFeaturesMaterializedFeaturesProvide } type DataSourceFeatureEngineeringMaterializedFeaturesMaterializedFeaturesStreamingMode struct { - FreshnessTarget string `json:"freshness_target,omitempty"` - Mode string `json:"mode,omitempty"` + Mode string `json:"mode,omitempty"` } type DataSourceFeatureEngineeringMaterializedFeaturesMaterializedFeaturesTableTrigger struct{} diff --git a/bundle/internal/tf/schema/data_source_group.go b/bundle/internal/tf/schema/data_source_group.go index 1cb5f1c498f..b15819d3824 100644 --- a/bundle/internal/tf/schema/data_source_group.go +++ b/bundle/internal/tf/schema/data_source_group.go @@ -20,7 +20,6 @@ type DataSourceGroup struct { InstanceProfiles []string `json:"instance_profiles,omitempty"` Members []string `json:"members,omitempty"` Recursive bool `json:"recursive,omitempty"` - Roles []string `json:"roles,omitempty"` ServicePrincipals []string `json:"service_principals,omitempty"` Users []string `json:"users,omitempty"` WorkspaceAccess bool `json:"workspace_access,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_mlflow_experiment.go b/bundle/internal/tf/schema/data_source_mlflow_experiment.go index 2b01a2f2557..792600443d1 100644 --- a/bundle/internal/tf/schema/data_source_mlflow_experiment.go +++ b/bundle/internal/tf/schema/data_source_mlflow_experiment.go @@ -11,17 +11,6 @@ type DataSourceMlflowExperimentTags struct { Value string `json:"value,omitempty"` } -type DataSourceMlflowExperimentTraceLocationUcTraceLocation struct { - Catalog string `json:"catalog"` - EffectiveTablePrefix string `json:"effective_table_prefix,omitempty"` - Schema string `json:"schema"` - TablePrefix string `json:"table_prefix,omitempty"` -} - -type DataSourceMlflowExperimentTraceLocation struct { - UcTraceLocation *DataSourceMlflowExperimentTraceLocationUcTraceLocation `json:"uc_trace_location,omitempty"` -} - type DataSourceMlflowExperiment struct { ArtifactLocation string `json:"artifact_location,omitempty"` CreationTime int `json:"creation_time,omitempty"` @@ -32,5 +21,4 @@ type DataSourceMlflowExperiment struct { Name string `json:"name,omitempty"` ProviderConfig *DataSourceMlflowExperimentProviderConfig `json:"provider_config,omitempty"` Tags []DataSourceMlflowExperimentTags `json:"tags,omitempty"` - TraceLocation *DataSourceMlflowExperimentTraceLocation `json:"trace_location,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_postgres_database.go b/bundle/internal/tf/schema/data_source_postgres_database.go index 8c1f8509eb2..c073e876bb5 100644 --- a/bundle/internal/tf/schema/data_source_postgres_database.go +++ b/bundle/internal/tf/schema/data_source_postgres_database.go @@ -8,7 +8,7 @@ type DataSourcePostgresDatabaseProviderConfig struct { type DataSourcePostgresDatabaseSpec struct { PostgresDatabase string `json:"postgres_database,omitempty"` - Role string `json:"role"` + Role string `json:"role,omitempty"` } type DataSourcePostgresDatabaseStatus struct { diff --git a/bundle/internal/tf/schema/data_source_postgres_databases.go b/bundle/internal/tf/schema/data_source_postgres_databases.go index dd511935ecb..33bfa025870 100644 --- a/bundle/internal/tf/schema/data_source_postgres_databases.go +++ b/bundle/internal/tf/schema/data_source_postgres_databases.go @@ -8,7 +8,7 @@ type DataSourcePostgresDatabasesDatabasesProviderConfig struct { type DataSourcePostgresDatabasesDatabasesSpec struct { PostgresDatabase string `json:"postgres_database,omitempty"` - Role string `json:"role"` + Role string `json:"role,omitempty"` } type DataSourcePostgresDatabasesDatabasesStatus struct { diff --git a/bundle/internal/tf/schema/data_source_postgres_endpoint.go b/bundle/internal/tf/schema/data_source_postgres_endpoint.go index 640516a2545..0327ce656f4 100644 --- a/bundle/internal/tf/schema/data_source_postgres_endpoint.go +++ b/bundle/internal/tf/schema/data_source_postgres_endpoint.go @@ -34,10 +34,8 @@ type DataSourcePostgresEndpointStatusGroup struct { } type DataSourcePostgresEndpointStatusHosts struct { - Host string `json:"host,omitempty"` - ReadOnlyHost string `json:"read_only_host,omitempty"` - ReadOnlyPooledHost string `json:"read_only_pooled_host,omitempty"` - ReadWritePooledHost string `json:"read_write_pooled_host,omitempty"` + Host string `json:"host,omitempty"` + ReadOnlyHost string `json:"read_only_host,omitempty"` } type DataSourcePostgresEndpointStatusSettings struct { @@ -53,7 +51,6 @@ type DataSourcePostgresEndpointStatus struct { EndpointType string `json:"endpoint_type,omitempty"` Group *DataSourcePostgresEndpointStatusGroup `json:"group,omitempty"` Hosts *DataSourcePostgresEndpointStatusHosts `json:"hosts,omitempty"` - LastActiveTime string `json:"last_active_time,omitempty"` PendingState string `json:"pending_state,omitempty"` Settings *DataSourcePostgresEndpointStatusSettings `json:"settings,omitempty"` SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_postgres_endpoints.go b/bundle/internal/tf/schema/data_source_postgres_endpoints.go index 274d475a08e..75ad54f4b5c 100644 --- a/bundle/internal/tf/schema/data_source_postgres_endpoints.go +++ b/bundle/internal/tf/schema/data_source_postgres_endpoints.go @@ -34,10 +34,8 @@ type DataSourcePostgresEndpointsEndpointsStatusGroup struct { } type DataSourcePostgresEndpointsEndpointsStatusHosts struct { - Host string `json:"host,omitempty"` - ReadOnlyHost string `json:"read_only_host,omitempty"` - ReadOnlyPooledHost string `json:"read_only_pooled_host,omitempty"` - ReadWritePooledHost string `json:"read_write_pooled_host,omitempty"` + Host string `json:"host,omitempty"` + ReadOnlyHost string `json:"read_only_host,omitempty"` } type DataSourcePostgresEndpointsEndpointsStatusSettings struct { @@ -53,7 +51,6 @@ type DataSourcePostgresEndpointsEndpointsStatus struct { EndpointType string `json:"endpoint_type,omitempty"` Group *DataSourcePostgresEndpointsEndpointsStatusGroup `json:"group,omitempty"` Hosts *DataSourcePostgresEndpointsEndpointsStatusHosts `json:"hosts,omitempty"` - LastActiveTime string `json:"last_active_time,omitempty"` PendingState string `json:"pending_state,omitempty"` Settings *DataSourcePostgresEndpointsEndpointsStatusSettings `json:"settings,omitempty"` SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_postgres_synced_table.go b/bundle/internal/tf/schema/data_source_postgres_synced_table.go index 2f901b4bb7e..9f69a5fa449 100644 --- a/bundle/internal/tf/schema/data_source_postgres_synced_table.go +++ b/bundle/internal/tf/schema/data_source_postgres_synced_table.go @@ -6,13 +6,6 @@ type DataSourcePostgresSyncedTableProviderConfig struct { WorkspaceId string `json:"workspace_id,omitempty"` } -type DataSourcePostgresSyncedTableSpecExtraColumns struct { - ColumnName string `json:"column_name"` - ColumnType string `json:"column_type"` - Compute string `json:"compute,omitempty"` - Maintenance string `json:"maintenance,omitempty"` -} - type DataSourcePostgresSyncedTableSpecNewPipelineSpec struct { BudgetPolicyId string `json:"budget_policy_id,omitempty"` StorageCatalog string `json:"storage_catalog,omitempty"` @@ -30,7 +23,6 @@ type DataSourcePostgresSyncedTableSpec struct { Branch string `json:"branch,omitempty"` CreateDatabaseObjectsIfMissing bool `json:"create_database_objects_if_missing,omitempty"` ExistingPipelineId string `json:"existing_pipeline_id,omitempty"` - ExtraColumns []DataSourcePostgresSyncedTableSpecExtraColumns `json:"extra_columns,omitempty"` NewPipelineSpec *DataSourcePostgresSyncedTableSpecNewPipelineSpec `json:"new_pipeline_spec,omitempty"` PostgresDatabase string `json:"postgres_database,omitempty"` PrimaryKeyColumns []string `json:"primary_key_columns,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_secret_uc.go b/bundle/internal/tf/schema/data_source_secret_uc.go index abbafcf80bd..b9a7a57fe6a 100644 --- a/bundle/internal/tf/schema/data_source_secret_uc.go +++ b/bundle/internal/tf/schema/data_source_secret_uc.go @@ -7,20 +7,22 @@ type DataSourceSecretUcProviderConfig struct { } type DataSourceSecretUc struct { - CatalogName string `json:"catalog_name,omitempty"` - Comment string `json:"comment,omitempty"` - CreateTime string `json:"create_time,omitempty"` - CreatedBy string `json:"created_by,omitempty"` - EffectiveOwner string `json:"effective_owner,omitempty"` - EffectiveValue string `json:"effective_value,omitempty"` - ExpireTime string `json:"expire_time,omitempty"` - FullName string `json:"full_name"` - MetastoreId string `json:"metastore_id,omitempty"` - Name string `json:"name,omitempty"` - Owner string `json:"owner,omitempty"` - ProviderConfig *DataSourceSecretUcProviderConfig `json:"provider_config,omitempty"` - SchemaName string `json:"schema_name,omitempty"` - UpdateTime string `json:"update_time,omitempty"` - UpdatedBy string `json:"updated_by,omitempty"` - Value string `json:"value,omitempty"` + BrowseOnly bool `json:"browse_only,omitempty"` + CatalogName string `json:"catalog_name,omitempty"` + Comment string `json:"comment,omitempty"` + CreateTime string `json:"create_time,omitempty"` + CreatedBy string `json:"created_by,omitempty"` + EffectiveOwner string `json:"effective_owner,omitempty"` + EffectiveValue string `json:"effective_value,omitempty"` + ExpireTime string `json:"expire_time,omitempty"` + ExternalSecretId string `json:"external_secret_id,omitempty"` + FullName string `json:"full_name"` + MetastoreId string `json:"metastore_id,omitempty"` + Name string `json:"name,omitempty"` + Owner string `json:"owner,omitempty"` + ProviderConfig *DataSourceSecretUcProviderConfig `json:"provider_config,omitempty"` + SchemaName string `json:"schema_name,omitempty"` + UpdateTime string `json:"update_time,omitempty"` + UpdatedBy string `json:"updated_by,omitempty"` + Value string `json:"value,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_secret_ucs.go b/bundle/internal/tf/schema/data_source_secret_ucs.go index 930620e7f9d..e9701e92706 100644 --- a/bundle/internal/tf/schema/data_source_secret_ucs.go +++ b/bundle/internal/tf/schema/data_source_secret_ucs.go @@ -11,26 +11,29 @@ type DataSourceSecretUcsSecretsProviderConfig struct { } type DataSourceSecretUcsSecrets struct { - CatalogName string `json:"catalog_name,omitempty"` - Comment string `json:"comment,omitempty"` - CreateTime string `json:"create_time,omitempty"` - CreatedBy string `json:"created_by,omitempty"` - EffectiveOwner string `json:"effective_owner,omitempty"` - EffectiveValue string `json:"effective_value,omitempty"` - ExpireTime string `json:"expire_time,omitempty"` - FullName string `json:"full_name"` - MetastoreId string `json:"metastore_id,omitempty"` - Name string `json:"name,omitempty"` - Owner string `json:"owner,omitempty"` - ProviderConfig *DataSourceSecretUcsSecretsProviderConfig `json:"provider_config,omitempty"` - SchemaName string `json:"schema_name,omitempty"` - UpdateTime string `json:"update_time,omitempty"` - UpdatedBy string `json:"updated_by,omitempty"` - Value string `json:"value,omitempty"` + BrowseOnly bool `json:"browse_only,omitempty"` + CatalogName string `json:"catalog_name,omitempty"` + Comment string `json:"comment,omitempty"` + CreateTime string `json:"create_time,omitempty"` + CreatedBy string `json:"created_by,omitempty"` + EffectiveOwner string `json:"effective_owner,omitempty"` + EffectiveValue string `json:"effective_value,omitempty"` + ExpireTime string `json:"expire_time,omitempty"` + ExternalSecretId string `json:"external_secret_id,omitempty"` + FullName string `json:"full_name"` + MetastoreId string `json:"metastore_id,omitempty"` + Name string `json:"name,omitempty"` + Owner string `json:"owner,omitempty"` + ProviderConfig *DataSourceSecretUcsSecretsProviderConfig `json:"provider_config,omitempty"` + SchemaName string `json:"schema_name,omitempty"` + UpdateTime string `json:"update_time,omitempty"` + UpdatedBy string `json:"updated_by,omitempty"` + Value string `json:"value,omitempty"` } type DataSourceSecretUcs struct { CatalogName string `json:"catalog_name,omitempty"` + IncludeBrowse bool `json:"include_browse,omitempty"` PageSize int `json:"page_size,omitempty"` ProviderConfig *DataSourceSecretUcsProviderConfig `json:"provider_config,omitempty"` SchemaName string `json:"schema_name,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_serving_endpoints.go b/bundle/internal/tf/schema/data_source_serving_endpoints.go index f94fc842d5f..7347ee3b189 100644 --- a/bundle/internal/tf/schema/data_source_serving_endpoints.go +++ b/bundle/internal/tf/schema/data_source_serving_endpoints.go @@ -191,17 +191,8 @@ type DataSourceServingEndpointsEndpointsTelemetryConfigInferenceTableConfig stru SamplingFraction int `json:"sampling_fraction,omitempty"` } -type DataSourceServingEndpointsEndpointsTelemetryConfigTableNames struct { - AnnotationsTable string `json:"annotations_table,omitempty"` - LogsTable string `json:"logs_table,omitempty"` - MetricsTable string `json:"metrics_table,omitempty"` - TracesTable string `json:"traces_table,omitempty"` -} - type DataSourceServingEndpointsEndpointsTelemetryConfig struct { InferenceTableConfig []DataSourceServingEndpointsEndpointsTelemetryConfigInferenceTableConfig `json:"inference_table_config,omitempty"` - TableNames []DataSourceServingEndpointsEndpointsTelemetryConfigTableNames `json:"table_names,omitempty"` - TelemetryProfileId string `json:"telemetry_profile_id,omitempty"` } type DataSourceServingEndpointsEndpoints struct { diff --git a/bundle/internal/tf/schema/data_sources.go b/bundle/internal/tf/schema/data_sources.go index a71803bad51..9a8860591ce 100644 --- a/bundle/internal/tf/schema/data_sources.go +++ b/bundle/internal/tf/schema/data_sources.go @@ -9,12 +9,6 @@ type DataSources struct { AccountNetworkPolicy map[string]any `json:"databricks_account_network_policy,omitempty"` AccountSettingUserPreferenceV2 map[string]any `json:"databricks_account_setting_user_preference_v2,omitempty"` AccountSettingV2 map[string]any `json:"databricks_account_setting_v2,omitempty"` - AiGatewayMcpService map[string]any `json:"databricks_ai_gateway_mcp_service,omitempty"` - AiGatewayMcpServices map[string]any `json:"databricks_ai_gateway_mcp_services,omitempty"` - AiGatewayModelProviderService map[string]any `json:"databricks_ai_gateway_model_provider_service,omitempty"` - AiGatewayModelProviderServices map[string]any `json:"databricks_ai_gateway_model_provider_services,omitempty"` - AiGatewayModelService map[string]any `json:"databricks_ai_gateway_model_service,omitempty"` - AiGatewayModelServices map[string]any `json:"databricks_ai_gateway_model_services,omitempty"` AiSearchEndpoint map[string]any `json:"databricks_ai_search_endpoint,omitempty"` AiSearchEndpoints map[string]any `json:"databricks_ai_search_endpoints,omitempty"` AiSearchIndex map[string]any `json:"databricks_ai_search_index,omitempty"` @@ -111,10 +105,6 @@ type DataSources struct { PostgresBranch map[string]any `json:"databricks_postgres_branch,omitempty"` PostgresBranches map[string]any `json:"databricks_postgres_branches,omitempty"` PostgresCatalog map[string]any `json:"databricks_postgres_catalog,omitempty"` - PostgresCdfConfig map[string]any `json:"databricks_postgres_cdf_config,omitempty"` - PostgresCdfConfigs map[string]any `json:"databricks_postgres_cdf_configs,omitempty"` - PostgresCdfStatus map[string]any `json:"databricks_postgres_cdf_status,omitempty"` - PostgresCdfStatuses map[string]any `json:"databricks_postgres_cdf_statuses,omitempty"` PostgresDataApi map[string]any `json:"databricks_postgres_data_api,omitempty"` PostgresDatabase map[string]any `json:"databricks_postgres_database,omitempty"` PostgresDatabases map[string]any `json:"databricks_postgres_databases,omitempty"` @@ -127,7 +117,6 @@ type DataSources struct { PostgresSyncedTable map[string]any `json:"databricks_postgres_synced_table,omitempty"` QualityMonitorV2 map[string]any `json:"databricks_quality_monitor_v2,omitempty"` QualityMonitorsV2 map[string]any `json:"databricks_quality_monitors_v2,omitempty"` - Recipients map[string]any `json:"databricks_recipients,omitempty"` RegisteredModel map[string]any `json:"databricks_registered_model,omitempty"` RegisteredModelVersions map[string]any `json:"databricks_registered_model_versions,omitempty"` RfaAccessRequestDestinations map[string]any `json:"databricks_rfa_access_request_destinations,omitempty"` @@ -177,12 +166,6 @@ func NewDataSources() *DataSources { AccountNetworkPolicy: make(map[string]any), AccountSettingUserPreferenceV2: make(map[string]any), AccountSettingV2: make(map[string]any), - AiGatewayMcpService: make(map[string]any), - AiGatewayMcpServices: make(map[string]any), - AiGatewayModelProviderService: make(map[string]any), - AiGatewayModelProviderServices: make(map[string]any), - AiGatewayModelService: make(map[string]any), - AiGatewayModelServices: make(map[string]any), AiSearchEndpoint: make(map[string]any), AiSearchEndpoints: make(map[string]any), AiSearchIndex: make(map[string]any), @@ -279,10 +262,6 @@ func NewDataSources() *DataSources { PostgresBranch: make(map[string]any), PostgresBranches: make(map[string]any), PostgresCatalog: make(map[string]any), - PostgresCdfConfig: make(map[string]any), - PostgresCdfConfigs: make(map[string]any), - PostgresCdfStatus: make(map[string]any), - PostgresCdfStatuses: make(map[string]any), PostgresDataApi: make(map[string]any), PostgresDatabase: make(map[string]any), PostgresDatabases: make(map[string]any), @@ -295,7 +274,6 @@ func NewDataSources() *DataSources { PostgresSyncedTable: make(map[string]any), QualityMonitorV2: make(map[string]any), QualityMonitorsV2: make(map[string]any), - Recipients: make(map[string]any), RegisteredModel: make(map[string]any), RegisteredModelVersions: make(map[string]any), RfaAccessRequestDestinations: make(map[string]any), diff --git a/bundle/internal/tf/schema/resource_alert_v2.go b/bundle/internal/tf/schema/resource_alert_v2.go index e44b8ba27ca..b9cdec84717 100644 --- a/bundle/internal/tf/schema/resource_alert_v2.go +++ b/bundle/internal/tf/schema/resource_alert_v2.go @@ -53,12 +53,6 @@ type ResourceAlertV2Evaluation struct { Threshold *ResourceAlertV2EvaluationThreshold `json:"threshold,omitempty"` } -type ResourceAlertV2Parameters struct { - Name string `json:"name"` - Type string `json:"type,omitempty"` - Value string `json:"value,omitempty"` -} - type ResourceAlertV2ProviderConfig struct { WorkspaceId string `json:"workspace_id,omitempty"` } @@ -84,7 +78,6 @@ type ResourceAlertV2 struct { Id string `json:"id,omitempty"` LifecycleState string `json:"lifecycle_state,omitempty"` OwnerUserName string `json:"owner_user_name,omitempty"` - Parameters []ResourceAlertV2Parameters `json:"parameters,omitempty"` ParentPath string `json:"parent_path,omitempty"` ProviderConfig *ResourceAlertV2ProviderConfig `json:"provider_config,omitempty"` PurgeOnDelete bool `json:"purge_on_delete,omitempty"` diff --git a/bundle/internal/tf/schema/resource_all.go b/bundle/internal/tf/schema/resource_all.go index ac1952fc975..d2cebc72831 100644 --- a/bundle/internal/tf/schema/resource_all.go +++ b/bundle/internal/tf/schema/resource_all.go @@ -12,9 +12,6 @@ type AllResources struct { AccountNetworkPolicy ResourceAccountNetworkPolicy `json:"databricks_account_network_policy,omitempty"` AccountSettingUserPreferenceV2 ResourceAccountSettingUserPreferenceV2 `json:"databricks_account_setting_user_preference_v2,omitempty"` AccountSettingV2 ResourceAccountSettingV2 `json:"databricks_account_setting_v2,omitempty"` - AiGatewayMcpService ResourceAiGatewayMcpService `json:"databricks_ai_gateway_mcp_service,omitempty"` - AiGatewayModelProviderService ResourceAiGatewayModelProviderService `json:"databricks_ai_gateway_model_provider_service,omitempty"` - AiGatewayModelService ResourceAiGatewayModelService `json:"databricks_ai_gateway_model_service,omitempty"` AiSearchEndpoint ResourceAiSearchEndpoint `json:"databricks_ai_search_endpoint,omitempty"` AiSearchIndex ResourceAiSearchIndex `json:"databricks_ai_search_index,omitempty"` AibiDashboardEmbeddingAccessPolicySetting ResourceAibiDashboardEmbeddingAccessPolicySetting `json:"databricks_aibi_dashboard_embedding_access_policy_setting,omitempty"` @@ -116,7 +113,6 @@ type AllResources struct { PolicyInfo ResourcePolicyInfo `json:"databricks_policy_info,omitempty"` PostgresBranch ResourcePostgresBranch `json:"databricks_postgres_branch,omitempty"` PostgresCatalog ResourcePostgresCatalog `json:"databricks_postgres_catalog,omitempty"` - PostgresCdfConfig ResourcePostgresCdfConfig `json:"databricks_postgres_cdf_config,omitempty"` PostgresDataApi ResourcePostgresDataApi `json:"databricks_postgres_data_api,omitempty"` PostgresDatabase ResourcePostgresDatabase `json:"databricks_postgres_database,omitempty"` PostgresEndpoint ResourcePostgresEndpoint `json:"databricks_postgres_endpoint,omitempty"` diff --git a/bundle/internal/tf/schema/resource_cluster.go b/bundle/internal/tf/schema/resource_cluster.go index 2f38f662f92..08a4e1c84c8 100644 --- a/bundle/internal/tf/schema/resource_cluster.go +++ b/bundle/internal/tf/schema/resource_cluster.go @@ -181,51 +181,49 @@ type ResourceClusterWorkloadType struct { } type ResourceCluster struct { - ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` - AutoterminationMinutes int `json:"autotermination_minutes,omitempty"` - ClearCloudAttributesOnRemove bool `json:"clear_cloud_attributes_on_remove,omitempty"` - ClusterId string `json:"cluster_id,omitempty"` - ClusterName string `json:"cluster_name,omitempty"` - CustomTags map[string]string `json:"custom_tags,omitempty"` - DataSecurityMode string `json:"data_security_mode,omitempty"` - DefaultTags map[string]string `json:"default_tags,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` - DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` - DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` - EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` - EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"` - Id string `json:"id,omitempty"` - IdempotencyToken string `json:"idempotency_token,omitempty"` - InstancePoolId string `json:"instance_pool_id,omitempty"` - IsPinned bool `json:"is_pinned,omitempty"` - IsSingleNode bool `json:"is_single_node,omitempty"` - Kind string `json:"kind,omitempty"` - NoWait bool `json:"no_wait,omitempty"` - NodeTypeId string `json:"node_type_id,omitempty"` - NumWorkers int `json:"num_workers,omitempty"` - PolicyId string `json:"policy_id,omitempty"` - RemoteDiskThroughput int `json:"remote_disk_throughput,omitempty"` - RuntimeEngine string `json:"runtime_engine,omitempty"` - SingleUserName string `json:"single_user_name,omitempty"` - SparkConf map[string]string `json:"spark_conf,omitempty"` - SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"` - SparkVersion string `json:"spark_version"` - SshPublicKeys []string `json:"ssh_public_keys,omitempty"` - State string `json:"state,omitempty"` - TotalInitialRemoteDiskSize int `json:"total_initial_remote_disk_size,omitempty"` - Url string `json:"url,omitempty"` - UseMlRuntime bool `json:"use_ml_runtime,omitempty"` - Autoscale *ResourceClusterAutoscale `json:"autoscale,omitempty"` - AwsAttributes *ResourceClusterAwsAttributes `json:"aws_attributes,omitempty"` - AzureAttributes *ResourceClusterAzureAttributes `json:"azure_attributes,omitempty"` - ClusterLogConf *ResourceClusterClusterLogConf `json:"cluster_log_conf,omitempty"` - ClusterMountInfo []ResourceClusterClusterMountInfo `json:"cluster_mount_info,omitempty"` - DockerImage *ResourceClusterDockerImage `json:"docker_image,omitempty"` - DriverNodeTypeFlexibility *ResourceClusterDriverNodeTypeFlexibility `json:"driver_node_type_flexibility,omitempty"` - GcpAttributes *ResourceClusterGcpAttributes `json:"gcp_attributes,omitempty"` - InitScripts []ResourceClusterInitScripts `json:"init_scripts,omitempty"` - Library []ResourceClusterLibrary `json:"library,omitempty"` - ProviderConfig *ResourceClusterProviderConfig `json:"provider_config,omitempty"` - WorkerNodeTypeFlexibility *ResourceClusterWorkerNodeTypeFlexibility `json:"worker_node_type_flexibility,omitempty"` - WorkloadType *ResourceClusterWorkloadType `json:"workload_type,omitempty"` + ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` + AutoterminationMinutes int `json:"autotermination_minutes,omitempty"` + ClusterId string `json:"cluster_id,omitempty"` + ClusterName string `json:"cluster_name,omitempty"` + CustomTags map[string]string `json:"custom_tags,omitempty"` + DataSecurityMode string `json:"data_security_mode,omitempty"` + DefaultTags map[string]string `json:"default_tags,omitempty"` + DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` + DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` + EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` + EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"` + Id string `json:"id,omitempty"` + IdempotencyToken string `json:"idempotency_token,omitempty"` + InstancePoolId string `json:"instance_pool_id,omitempty"` + IsPinned bool `json:"is_pinned,omitempty"` + IsSingleNode bool `json:"is_single_node,omitempty"` + Kind string `json:"kind,omitempty"` + NoWait bool `json:"no_wait,omitempty"` + NodeTypeId string `json:"node_type_id,omitempty"` + NumWorkers int `json:"num_workers,omitempty"` + PolicyId string `json:"policy_id,omitempty"` + RemoteDiskThroughput int `json:"remote_disk_throughput,omitempty"` + RuntimeEngine string `json:"runtime_engine,omitempty"` + SingleUserName string `json:"single_user_name,omitempty"` + SparkConf map[string]string `json:"spark_conf,omitempty"` + SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"` + SparkVersion string `json:"spark_version"` + SshPublicKeys []string `json:"ssh_public_keys,omitempty"` + State string `json:"state,omitempty"` + TotalInitialRemoteDiskSize int `json:"total_initial_remote_disk_size,omitempty"` + Url string `json:"url,omitempty"` + UseMlRuntime bool `json:"use_ml_runtime,omitempty"` + Autoscale *ResourceClusterAutoscale `json:"autoscale,omitempty"` + AwsAttributes *ResourceClusterAwsAttributes `json:"aws_attributes,omitempty"` + AzureAttributes *ResourceClusterAzureAttributes `json:"azure_attributes,omitempty"` + ClusterLogConf *ResourceClusterClusterLogConf `json:"cluster_log_conf,omitempty"` + ClusterMountInfo []ResourceClusterClusterMountInfo `json:"cluster_mount_info,omitempty"` + DockerImage *ResourceClusterDockerImage `json:"docker_image,omitempty"` + DriverNodeTypeFlexibility *ResourceClusterDriverNodeTypeFlexibility `json:"driver_node_type_flexibility,omitempty"` + GcpAttributes *ResourceClusterGcpAttributes `json:"gcp_attributes,omitempty"` + InitScripts []ResourceClusterInitScripts `json:"init_scripts,omitempty"` + Library []ResourceClusterLibrary `json:"library,omitempty"` + ProviderConfig *ResourceClusterProviderConfig `json:"provider_config,omitempty"` + WorkerNodeTypeFlexibility *ResourceClusterWorkerNodeTypeFlexibility `json:"worker_node_type_flexibility,omitempty"` + WorkloadType *ResourceClusterWorkloadType `json:"workload_type,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_data_classification_catalog_config.go b/bundle/internal/tf/schema/resource_data_classification_catalog_config.go index 873f785086e..4fedc74410a 100644 --- a/bundle/internal/tf/schema/resource_data_classification_catalog_config.go +++ b/bundle/internal/tf/schema/resource_data_classification_catalog_config.go @@ -7,10 +7,6 @@ type ResourceDataClassificationCatalogConfigAutoTagConfigs struct { ClassificationTag string `json:"classification_tag"` } -type ResourceDataClassificationCatalogConfigExcludedSchemas struct { - Names []string `json:"names"` -} - type ResourceDataClassificationCatalogConfigIncludedSchemas struct { Names []string `json:"names"` } @@ -21,7 +17,6 @@ type ResourceDataClassificationCatalogConfigProviderConfig struct { type ResourceDataClassificationCatalogConfig struct { AutoTagConfigs []ResourceDataClassificationCatalogConfigAutoTagConfigs `json:"auto_tag_configs,omitempty"` - ExcludedSchemas *ResourceDataClassificationCatalogConfigExcludedSchemas `json:"excluded_schemas,omitempty"` IncludedSchemas *ResourceDataClassificationCatalogConfigIncludedSchemas `json:"included_schemas,omitempty"` Name string `json:"name,omitempty"` Parent string `json:"parent"` diff --git a/bundle/internal/tf/schema/resource_disaster_recovery_stable_url.go b/bundle/internal/tf/schema/resource_disaster_recovery_stable_url.go index 2be41e085de..79d325e5e57 100644 --- a/bundle/internal/tf/schema/resource_disaster_recovery_stable_url.go +++ b/bundle/internal/tf/schema/resource_disaster_recovery_stable_url.go @@ -3,12 +3,10 @@ package schema type ResourceDisasterRecoveryStableUrl struct { - EffectiveWorkspaceId string `json:"effective_workspace_id,omitempty"` - FailoverGroupName string `json:"failover_group_name,omitempty"` - InitialWorkspaceId string `json:"initial_workspace_id"` - Name string `json:"name,omitempty"` - Parent string `json:"parent"` - StableUrlId string `json:"stable_url_id"` - StableWorkspaceId string `json:"stable_workspace_id,omitempty"` - Url string `json:"url,omitempty"` + FailoverGroupName string `json:"failover_group_name,omitempty"` + InitialWorkspaceId string `json:"initial_workspace_id"` + Name string `json:"name,omitempty"` + Parent string `json:"parent"` + StableUrlId string `json:"stable_url_id"` + Url string `json:"url,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_endpoint.go b/bundle/internal/tf/schema/resource_endpoint.go index b1be5023943..0b010ce55b0 100644 --- a/bundle/internal/tf/schema/resource_endpoint.go +++ b/bundle/internal/tf/schema/resource_endpoint.go @@ -2,12 +2,6 @@ package schema -type ResourceEndpointAwsVpcEndpointInfo struct { - AwsAccountId string `json:"aws_account_id,omitempty"` - AwsEndpointServiceId string `json:"aws_endpoint_service_id,omitempty"` - AwsVpcEndpointId string `json:"aws_vpc_endpoint_id"` -} - type ResourceEndpointAzurePrivateEndpointInfo struct { PrivateEndpointName string `json:"private_endpoint_name"` PrivateEndpointResourceGuid string `json:"private_endpoint_resource_guid"` @@ -15,22 +9,12 @@ type ResourceEndpointAzurePrivateEndpointInfo struct { PrivateLinkServiceId string `json:"private_link_service_id,omitempty"` } -type ResourceEndpointGcpPscEndpointInfo struct { - EndpointRegion string `json:"endpoint_region"` - ProjectId string `json:"project_id"` - PscConnectionId string `json:"psc_connection_id,omitempty"` - PscEndpoint string `json:"psc_endpoint"` - ServiceAttachmentId string `json:"service_attachment_id,omitempty"` -} - type ResourceEndpoint struct { AccountId string `json:"account_id,omitempty"` - AwsVpcEndpointInfo *ResourceEndpointAwsVpcEndpointInfo `json:"aws_vpc_endpoint_info,omitempty"` AzurePrivateEndpointInfo *ResourceEndpointAzurePrivateEndpointInfo `json:"azure_private_endpoint_info,omitempty"` CreateTime string `json:"create_time,omitempty"` DisplayName string `json:"display_name"` EndpointId string `json:"endpoint_id,omitempty"` - GcpPscEndpointInfo *ResourceEndpointGcpPscEndpointInfo `json:"gcp_psc_endpoint_info,omitempty"` Name string `json:"name,omitempty"` Parent string `json:"parent"` Region string `json:"region"` diff --git a/bundle/internal/tf/schema/resource_feature_engineering_feature.go b/bundle/internal/tf/schema/resource_feature_engineering_feature.go index d4d7f63572f..4ff3bf5820c 100644 --- a/bundle/internal/tf/schema/resource_feature_engineering_feature.go +++ b/bundle/internal/tf/schema/resource_feature_engineering_feature.go @@ -29,30 +29,10 @@ type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionFirst struct { Input string `json:"input"` } -type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstDistinct struct { - Input string `json:"input"` - N int `json:"n"` -} - -type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstN struct { - Input string `json:"input"` - N int `json:"n"` -} - type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionLast struct { Input string `json:"input"` } -type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionLastDistinct struct { - Input string `json:"input"` - N int `json:"n"` -} - -type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionLastN struct { - Input string `json:"input"` - N int `json:"n"` -} - type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionMax struct { Input string `json:"input"` } @@ -80,17 +60,12 @@ type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowConti type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` -} - -type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSawtooth struct { - Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbling struct { @@ -100,7 +75,6 @@ type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbl type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindow struct { Continuous *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowContinuous `json:"continuous,omitempty"` Rolling *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling `json:"rolling,omitempty"` - Sawtooth *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSawtooth `json:"sawtooth,omitempty"` Sliding *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSliding `json:"sliding,omitempty"` Tumbling *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbling `json:"tumbling,omitempty"` } @@ -119,11 +93,7 @@ type ResourceFeatureEngineeringFeatureFunctionAggregationFunction struct { Avg *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionAvg `json:"avg,omitempty"` CountFunction *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionCountFunction `json:"count_function,omitempty"` First *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionFirst `json:"first,omitempty"` - FirstDistinct *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstDistinct `json:"first_distinct,omitempty"` - FirstN *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstN `json:"first_n,omitempty"` Last *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionLast `json:"last,omitempty"` - LastDistinct *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionLastDistinct `json:"last_distinct,omitempty"` - LastN *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionLastN `json:"last_n,omitempty"` Max *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionMax `json:"max,omitempty"` Min *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionMin `json:"min,omitempty"` StddevPop *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionStddevPop `json:"stddev_pop,omitempty"` @@ -202,10 +172,8 @@ type ResourceFeatureEngineeringFeatureSourceRequestSource struct { } type ResourceFeatureEngineeringFeatureSourceStreamSource struct { - DataframeSchema string `json:"dataframe_schema,omitempty"` - FilterCondition string `json:"filter_condition,omitempty"` - FullName string `json:"full_name"` - TransformationSql string `json:"transformation_sql,omitempty"` + FilterCondition string `json:"filter_condition,omitempty"` + FullName string `json:"full_name"` } type ResourceFeatureEngineeringFeatureSource struct { @@ -222,17 +190,12 @@ type ResourceFeatureEngineeringFeatureTimeWindowContinuous struct { type ResourceFeatureEngineeringFeatureTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` -} - -type ResourceFeatureEngineeringFeatureTimeWindowSawtooth struct { - Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type ResourceFeatureEngineeringFeatureTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type ResourceFeatureEngineeringFeatureTimeWindowTumbling struct { @@ -242,7 +205,6 @@ type ResourceFeatureEngineeringFeatureTimeWindowTumbling struct { type ResourceFeatureEngineeringFeatureTimeWindow struct { Continuous *ResourceFeatureEngineeringFeatureTimeWindowContinuous `json:"continuous,omitempty"` Rolling *ResourceFeatureEngineeringFeatureTimeWindowRolling `json:"rolling,omitempty"` - Sawtooth *ResourceFeatureEngineeringFeatureTimeWindowSawtooth `json:"sawtooth,omitempty"` Sliding *ResourceFeatureEngineeringFeatureTimeWindowSliding `json:"sliding,omitempty"` Tumbling *ResourceFeatureEngineeringFeatureTimeWindowTumbling `json:"tumbling,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go b/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go index bf5c49c6f17..8b3f526bdae 100644 --- a/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go +++ b/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go @@ -72,15 +72,8 @@ type ResourceFeatureEngineeringKafkaConfigIngestionConfig struct { IngestionPipelineId string `json:"ingestion_pipeline_id,omitempty"` } -type ResourceFeatureEngineeringKafkaConfigKeySchemaProtoSchema struct { - MessageName string `json:"message_name"` - SchemaText string `json:"schema_text"` -} - type ResourceFeatureEngineeringKafkaConfigKeySchema struct { - AvroSchema string `json:"avro_schema,omitempty"` - JsonSchema string `json:"json_schema,omitempty"` - ProtoSchema *ResourceFeatureEngineeringKafkaConfigKeySchemaProtoSchema `json:"proto_schema,omitempty"` + JsonSchema string `json:"json_schema,omitempty"` } type ResourceFeatureEngineeringKafkaConfigProviderConfig struct { @@ -93,15 +86,8 @@ type ResourceFeatureEngineeringKafkaConfigSubscriptionMode struct { SubscribePattern string `json:"subscribe_pattern,omitempty"` } -type ResourceFeatureEngineeringKafkaConfigValueSchemaProtoSchema struct { - MessageName string `json:"message_name"` - SchemaText string `json:"schema_text"` -} - type ResourceFeatureEngineeringKafkaConfigValueSchema struct { - AvroSchema string `json:"avro_schema,omitempty"` - JsonSchema string `json:"json_schema,omitempty"` - ProtoSchema *ResourceFeatureEngineeringKafkaConfigValueSchemaProtoSchema `json:"proto_schema,omitempty"` + JsonSchema string `json:"json_schema,omitempty"` } type ResourceFeatureEngineeringKafkaConfig struct { diff --git a/bundle/internal/tf/schema/resource_feature_engineering_materialized_feature.go b/bundle/internal/tf/schema/resource_feature_engineering_materialized_feature.go index 2111e47a5c2..4a753ec41ec 100644 --- a/bundle/internal/tf/schema/resource_feature_engineering_materialized_feature.go +++ b/bundle/internal/tf/schema/resource_feature_engineering_materialized_feature.go @@ -24,8 +24,7 @@ type ResourceFeatureEngineeringMaterializedFeatureProviderConfig struct { } type ResourceFeatureEngineeringMaterializedFeatureStreamingMode struct { - FreshnessTarget string `json:"freshness_target,omitempty"` - Mode string `json:"mode,omitempty"` + Mode string `json:"mode,omitempty"` } type ResourceFeatureEngineeringMaterializedFeatureTableTrigger struct{} diff --git a/bundle/internal/tf/schema/resource_job.go b/bundle/internal/tf/schema/resource_job.go index 3a84cf10987..b1627f02b4d 100644 --- a/bundle/internal/tf/schema/resource_job.go +++ b/bundle/internal/tf/schema/resource_job.go @@ -271,7 +271,6 @@ type ResourceJobJobClusterNewCluster struct { ClusterName string `json:"cluster_name,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` @@ -308,9 +307,8 @@ type ResourceJobJobClusterNewCluster struct { } type ResourceJobJobCluster struct { - JobClusterKey string `json:"job_cluster_key"` - ServerlessComputeId string `json:"serverless_compute_id,omitempty"` - NewCluster *ResourceJobJobClusterNewCluster `json:"new_cluster,omitempty"` + JobClusterKey string `json:"job_cluster_key"` + NewCluster *ResourceJobJobClusterNewCluster `json:"new_cluster,omitempty"` } type ResourceJobLibraryCran struct { @@ -533,7 +531,6 @@ type ResourceJobNewCluster struct { ClusterName string `json:"cluster_name,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` @@ -617,17 +614,10 @@ type ResourceJobRunJobTask struct { JobParameters map[string]string `json:"job_parameters,omitempty"` } -type ResourceJobScheduleSqlCondition struct { - SqlQueryId string `json:"sql_query_id"` - TriggerMode string `json:"trigger_mode,omitempty"` - WarehouseId string `json:"warehouse_id"` -} - type ResourceJobSchedule struct { - PauseStatus string `json:"pause_status,omitempty"` - QuartzCronExpression string `json:"quartz_cron_expression"` - TimezoneId string `json:"timezone_id"` - SqlCondition *ResourceJobScheduleSqlCondition `json:"sql_condition,omitempty"` + PauseStatus string `json:"pause_status,omitempty"` + QuartzCronExpression string `json:"quartz_cron_expression"` + TimezoneId string `json:"timezone_id"` } type ResourceJobSparkJarTask struct { @@ -1093,7 +1083,6 @@ type ResourceJobTaskForEachTaskTaskNewCluster struct { ClusterName string `json:"cluster_name,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` @@ -1595,7 +1584,6 @@ type ResourceJobTaskNewCluster struct { ClusterName string `json:"cluster_name,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` @@ -1863,12 +1851,6 @@ type ResourceJobTriggerPeriodic struct { Unit string `json:"unit"` } -type ResourceJobTriggerSqlCondition struct { - SqlQueryId string `json:"sql_query_id"` - TriggerMode string `json:"trigger_mode,omitempty"` - WarehouseId string `json:"warehouse_id"` -} - type ResourceJobTriggerTableUpdate struct { Condition string `json:"condition,omitempty"` MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"` @@ -1877,12 +1859,11 @@ type ResourceJobTriggerTableUpdate struct { } type ResourceJobTrigger struct { - PauseStatus string `json:"pause_status,omitempty"` - FileArrival *ResourceJobTriggerFileArrival `json:"file_arrival,omitempty"` - Model *ResourceJobTriggerModel `json:"model,omitempty"` - Periodic *ResourceJobTriggerPeriodic `json:"periodic,omitempty"` - SqlCondition *ResourceJobTriggerSqlCondition `json:"sql_condition,omitempty"` - TableUpdate *ResourceJobTriggerTableUpdate `json:"table_update,omitempty"` + PauseStatus string `json:"pause_status,omitempty"` + FileArrival *ResourceJobTriggerFileArrival `json:"file_arrival,omitempty"` + Model *ResourceJobTriggerModel `json:"model,omitempty"` + Periodic *ResourceJobTriggerPeriodic `json:"periodic,omitempty"` + TableUpdate *ResourceJobTriggerTableUpdate `json:"table_update,omitempty"` } type ResourceJobWebhookNotificationsOnDurationWarningThresholdExceeded struct { @@ -1926,7 +1907,6 @@ type ResourceJob struct { MaxRetries int `json:"max_retries,omitempty"` MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"` Name string `json:"name,omitempty"` - ParentPath string `json:"parent_path,omitempty"` PerformanceTarget string `json:"performance_target,omitempty"` RetryOnTimeout bool `json:"retry_on_timeout,omitempty"` Tags map[string]string `json:"tags,omitempty"` diff --git a/bundle/internal/tf/schema/resource_mlflow_experiment.go b/bundle/internal/tf/schema/resource_mlflow_experiment.go index 972496bc15e..26ca94ba632 100644 --- a/bundle/internal/tf/schema/resource_mlflow_experiment.go +++ b/bundle/internal/tf/schema/resource_mlflow_experiment.go @@ -11,17 +11,6 @@ type ResourceMlflowExperimentTags struct { Value string `json:"value,omitempty"` } -type ResourceMlflowExperimentTraceLocationUcTraceLocation struct { - Catalog string `json:"catalog"` - EffectiveTablePrefix string `json:"effective_table_prefix,omitempty"` - Schema string `json:"schema"` - TablePrefix string `json:"table_prefix,omitempty"` -} - -type ResourceMlflowExperimentTraceLocation struct { - UcTraceLocation *ResourceMlflowExperimentTraceLocationUcTraceLocation `json:"uc_trace_location,omitempty"` -} - type ResourceMlflowExperiment struct { ArtifactLocation string `json:"artifact_location,omitempty"` CreationTime int `json:"creation_time,omitempty"` @@ -33,5 +22,4 @@ type ResourceMlflowExperiment struct { Name string `json:"name"` ProviderConfig *ResourceMlflowExperimentProviderConfig `json:"provider_config,omitempty"` Tags []ResourceMlflowExperimentTags `json:"tags,omitempty"` - TraceLocation *ResourceMlflowExperimentTraceLocation `json:"trace_location,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_model_serving.go b/bundle/internal/tf/schema/resource_model_serving.go index 4e892225e6b..3bc6ffebf94 100644 --- a/bundle/internal/tf/schema/resource_model_serving.go +++ b/bundle/internal/tf/schema/resource_model_serving.go @@ -234,17 +234,8 @@ type ResourceModelServingTelemetryConfigInferenceTableConfig struct { SamplingFraction int `json:"sampling_fraction,omitempty"` } -type ResourceModelServingTelemetryConfigTableNames struct { - AnnotationsTable string `json:"annotations_table,omitempty"` - LogsTable string `json:"logs_table,omitempty"` - MetricsTable string `json:"metrics_table,omitempty"` - TracesTable string `json:"traces_table,omitempty"` -} - type ResourceModelServingTelemetryConfig struct { - TelemetryProfileId string `json:"telemetry_profile_id,omitempty"` InferenceTableConfig *ResourceModelServingTelemetryConfigInferenceTableConfig `json:"inference_table_config,omitempty"` - TableNames *ResourceModelServingTelemetryConfigTableNames `json:"table_names,omitempty"` } type ResourceModelServing struct { diff --git a/bundle/internal/tf/schema/resource_pipeline.go b/bundle/internal/tf/schema/resource_pipeline.go index ee4ff04fda0..8d279e91902 100644 --- a/bundle/internal/tf/schema/resource_pipeline.go +++ b/bundle/internal/tf/schema/resource_pipeline.go @@ -213,7 +213,6 @@ type ResourcePipelineIngestionDefinitionObjectsReportTableConfiguration struct { SalesforceIncludeFormulaFields bool `json:"salesforce_include_formula_fields,omitempty"` ScdType string `json:"scd_type,omitempty"` SequenceBy []string `json:"sequence_by,omitempty"` - SourceMetadataColumn string `json:"source_metadata_column,omitempty"` TableProperties map[string]string `json:"table_properties,omitempty"` AutoFullRefreshPolicy *ResourcePipelineIngestionDefinitionObjectsReportTableConfigurationAutoFullRefreshPolicy `json:"auto_full_refresh_policy,omitempty"` QueryBasedConnectorConfig *ResourcePipelineIngestionDefinitionObjectsReportTableConfigurationQueryBasedConnectorConfig `json:"query_based_connector_config,omitempty"` @@ -258,18 +257,10 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGdriveOptio FileIngestionOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGdriveOptionsFileIngestionOptions `json:"file_ingestion_options,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGoogleAdsOptionsCustomReportOptions struct { - Metrics []string `json:"metrics,omitempty"` - Resource string `json:"resource"` - ResourceFields []string `json:"resource_fields,omitempty"` - Segments []string `json:"segments,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGoogleAdsOptions struct { - LookbackWindowDays int `json:"lookback_window_days,omitempty"` - ManagerAccountId string `json:"manager_account_id"` - SyncStartDate string `json:"sync_start_date,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGoogleAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` + LookbackWindowDays int `json:"lookback_window_days,omitempty"` + ManagerAccountId string `json:"manager_account_id"` + SyncStartDate string `json:"sync_start_date,omitempty"` } type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsJiraOptions struct { @@ -312,25 +303,15 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsKafkaOption ValueTransformer *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsKafkaOptionsValueTransformer `json:"value_transformer,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsMetaAdsOptionsCustomReportOptions struct { - ActionAttributionWindows []string `json:"action_attribution_windows,omitempty"` - ActionBreakdowns []string `json:"action_breakdowns,omitempty"` - ActionReportTime string `json:"action_report_time,omitempty"` - Breakdowns []string `json:"breakdowns,omitempty"` - Level string `json:"level,omitempty"` - TimeIncrement string `json:"time_increment,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsMetaAdsOptions struct { - ActionAttributionWindows []string `json:"action_attribution_windows,omitempty"` - ActionBreakdowns []string `json:"action_breakdowns,omitempty"` - ActionReportTime string `json:"action_report_time,omitempty"` - Breakdowns []string `json:"breakdowns,omitempty"` - CustomInsightsLookbackWindow int `json:"custom_insights_lookback_window,omitempty"` - Level string `json:"level,omitempty"` - StartDate string `json:"start_date,omitempty"` - TimeIncrement string `json:"time_increment,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsMetaAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` + ActionAttributionWindows []string `json:"action_attribution_windows,omitempty"` + ActionBreakdowns []string `json:"action_breakdowns,omitempty"` + ActionReportTime string `json:"action_report_time,omitempty"` + Breakdowns []string `json:"breakdowns,omitempty"` + CustomInsightsLookbackWindow int `json:"custom_insights_lookback_window,omitempty"` + Level string `json:"level,omitempty"` + StartDate string `json:"start_date,omitempty"` + TimeIncrement string `json:"time_increment,omitempty"` } type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsOutlookOptions struct { @@ -346,17 +327,6 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsOutlookOpti SubjectFilter []string `json:"subject_filter,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsRedditAdsOptionsCustomReportOptions struct { - Breakdowns []string `json:"breakdowns,omitempty"` - Fields []string `json:"fields,omitempty"` -} - -type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsRedditAdsOptions struct { - LookbackWindowDays int `json:"lookback_window_days,omitempty"` - SyncStartDate string `json:"sync_start_date,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsRedditAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsSharepointOptionsFileIngestionOptionsFileFilters struct { ModifiedAfter string `json:"modified_after,omitempty"` ModifiedBefore string `json:"modified_before,omitempty"` @@ -387,23 +357,14 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsSmartsheetO EnforceSchema bool `json:"enforce_schema,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsTiktokAdsOptionsCustomReportOptions struct { - DataLevel string `json:"data_level,omitempty"` - Dimensions []string `json:"dimensions,omitempty"` - Metrics []string `json:"metrics,omitempty"` - QueryLifetime bool `json:"query_lifetime,omitempty"` - ReportType string `json:"report_type,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsTiktokAdsOptions struct { - DataLevel string `json:"data_level,omitempty"` - Dimensions []string `json:"dimensions,omitempty"` - LookbackWindowDays int `json:"lookback_window_days,omitempty"` - Metrics []string `json:"metrics,omitempty"` - QueryLifetime bool `json:"query_lifetime,omitempty"` - ReportType string `json:"report_type,omitempty"` - SyncStartDate string `json:"sync_start_date,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsTiktokAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` + DataLevel string `json:"data_level,omitempty"` + Dimensions []string `json:"dimensions,omitempty"` + LookbackWindowDays int `json:"lookback_window_days,omitempty"` + Metrics []string `json:"metrics,omitempty"` + QueryLifetime bool `json:"query_lifetime,omitempty"` + ReportType string `json:"report_type,omitempty"` + SyncStartDate string `json:"sync_start_date,omitempty"` } type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsZendeskSupportOptions struct { @@ -418,31 +379,12 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptions struct { KafkaOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsKafkaOptions `json:"kafka_options,omitempty"` MetaAdsOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsMetaAdsOptions `json:"meta_ads_options,omitempty"` OutlookOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsOutlookOptions `json:"outlook_options,omitempty"` - RedditAdsOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsRedditAdsOptions `json:"reddit_ads_options,omitempty"` SharepointOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsSharepointOptions `json:"sharepoint_options,omitempty"` SmartsheetOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsSmartsheetOptions `json:"smartsheet_options,omitempty"` TiktokAdsOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsTiktokAdsOptions `json:"tiktok_ads_options,omitempty"` ZendeskSupportOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsZendeskSupportOptions `json:"zendesk_support_options,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsSchemaFanoutOptionsTransformsJsonOptions struct { - AsVariant bool `json:"as_variant,omitempty"` - Schema string `json:"schema,omitempty"` - SchemaEvolutionMode string `json:"schema_evolution_mode,omitempty"` - SchemaFilePath string `json:"schema_file_path,omitempty"` - SchemaHints string `json:"schema_hints,omitempty"` -} - -type ResourcePipelineIngestionDefinitionObjectsSchemaFanoutOptionsTransforms struct { - Format string `json:"format,omitempty"` - JsonOptions *ResourcePipelineIngestionDefinitionObjectsSchemaFanoutOptionsTransformsJsonOptions `json:"json_options,omitempty"` -} - -type ResourcePipelineIngestionDefinitionObjectsSchemaFanoutOptions struct { - FanoutBy string `json:"fanout_by,omitempty"` - Transforms []ResourcePipelineIngestionDefinitionObjectsSchemaFanoutOptionsTransforms `json:"transforms,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsSchemaTableConfigurationAutoFullRefreshPolicy struct { Enabled bool `json:"enabled"` MinIntervalHours int `json:"min_interval_hours,omitempty"` @@ -475,7 +417,6 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaTableConfiguration struct { SalesforceIncludeFormulaFields bool `json:"salesforce_include_formula_fields,omitempty"` ScdType string `json:"scd_type,omitempty"` SequenceBy []string `json:"sequence_by,omitempty"` - SourceMetadataColumn string `json:"source_metadata_column,omitempty"` TableProperties map[string]string `json:"table_properties,omitempty"` AutoFullRefreshPolicy *ResourcePipelineIngestionDefinitionObjectsSchemaTableConfigurationAutoFullRefreshPolicy `json:"auto_full_refresh_policy,omitempty"` QueryBasedConnectorConfig *ResourcePipelineIngestionDefinitionObjectsSchemaTableConfigurationQueryBasedConnectorConfig `json:"query_based_connector_config,omitempty"` @@ -488,7 +429,6 @@ type ResourcePipelineIngestionDefinitionObjectsSchema struct { SourceCatalog string `json:"source_catalog,omitempty"` SourceSchema string `json:"source_schema"` ConnectorOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptions `json:"connector_options,omitempty"` - FanoutOptions *ResourcePipelineIngestionDefinitionObjectsSchemaFanoutOptions `json:"fanout_options,omitempty"` TableConfiguration *ResourcePipelineIngestionDefinitionObjectsSchemaTableConfiguration `json:"table_configuration,omitempty"` } @@ -522,18 +462,10 @@ type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGdriveOption FileIngestionOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGdriveOptionsFileIngestionOptions `json:"file_ingestion_options,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGoogleAdsOptionsCustomReportOptions struct { - Metrics []string `json:"metrics,omitempty"` - Resource string `json:"resource"` - ResourceFields []string `json:"resource_fields,omitempty"` - Segments []string `json:"segments,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGoogleAdsOptions struct { - LookbackWindowDays int `json:"lookback_window_days,omitempty"` - ManagerAccountId string `json:"manager_account_id"` - SyncStartDate string `json:"sync_start_date,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGoogleAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` + LookbackWindowDays int `json:"lookback_window_days,omitempty"` + ManagerAccountId string `json:"manager_account_id"` + SyncStartDate string `json:"sync_start_date,omitempty"` } type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsJiraOptions struct { @@ -576,25 +508,15 @@ type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsKafkaOptions ValueTransformer *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsKafkaOptionsValueTransformer `json:"value_transformer,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsMetaAdsOptionsCustomReportOptions struct { - ActionAttributionWindows []string `json:"action_attribution_windows,omitempty"` - ActionBreakdowns []string `json:"action_breakdowns,omitempty"` - ActionReportTime string `json:"action_report_time,omitempty"` - Breakdowns []string `json:"breakdowns,omitempty"` - Level string `json:"level,omitempty"` - TimeIncrement string `json:"time_increment,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsMetaAdsOptions struct { - ActionAttributionWindows []string `json:"action_attribution_windows,omitempty"` - ActionBreakdowns []string `json:"action_breakdowns,omitempty"` - ActionReportTime string `json:"action_report_time,omitempty"` - Breakdowns []string `json:"breakdowns,omitempty"` - CustomInsightsLookbackWindow int `json:"custom_insights_lookback_window,omitempty"` - Level string `json:"level,omitempty"` - StartDate string `json:"start_date,omitempty"` - TimeIncrement string `json:"time_increment,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsMetaAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` + ActionAttributionWindows []string `json:"action_attribution_windows,omitempty"` + ActionBreakdowns []string `json:"action_breakdowns,omitempty"` + ActionReportTime string `json:"action_report_time,omitempty"` + Breakdowns []string `json:"breakdowns,omitempty"` + CustomInsightsLookbackWindow int `json:"custom_insights_lookback_window,omitempty"` + Level string `json:"level,omitempty"` + StartDate string `json:"start_date,omitempty"` + TimeIncrement string `json:"time_increment,omitempty"` } type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsOutlookOptions struct { @@ -610,17 +532,6 @@ type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsOutlookOptio SubjectFilter []string `json:"subject_filter,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsRedditAdsOptionsCustomReportOptions struct { - Breakdowns []string `json:"breakdowns,omitempty"` - Fields []string `json:"fields,omitempty"` -} - -type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsRedditAdsOptions struct { - LookbackWindowDays int `json:"lookback_window_days,omitempty"` - SyncStartDate string `json:"sync_start_date,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsRedditAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSharepointOptionsFileIngestionOptionsFileFilters struct { ModifiedAfter string `json:"modified_after,omitempty"` ModifiedBefore string `json:"modified_before,omitempty"` @@ -651,23 +562,14 @@ type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSmartsheetOp EnforceSchema bool `json:"enforce_schema,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsTiktokAdsOptionsCustomReportOptions struct { - DataLevel string `json:"data_level,omitempty"` - Dimensions []string `json:"dimensions,omitempty"` - Metrics []string `json:"metrics,omitempty"` - QueryLifetime bool `json:"query_lifetime,omitempty"` - ReportType string `json:"report_type,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsTiktokAdsOptions struct { - DataLevel string `json:"data_level,omitempty"` - Dimensions []string `json:"dimensions,omitempty"` - LookbackWindowDays int `json:"lookback_window_days,omitempty"` - Metrics []string `json:"metrics,omitempty"` - QueryLifetime bool `json:"query_lifetime,omitempty"` - ReportType string `json:"report_type,omitempty"` - SyncStartDate string `json:"sync_start_date,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsTiktokAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` + DataLevel string `json:"data_level,omitempty"` + Dimensions []string `json:"dimensions,omitempty"` + LookbackWindowDays int `json:"lookback_window_days,omitempty"` + Metrics []string `json:"metrics,omitempty"` + QueryLifetime bool `json:"query_lifetime,omitempty"` + ReportType string `json:"report_type,omitempty"` + SyncStartDate string `json:"sync_start_date,omitempty"` } type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsZendeskSupportOptions struct { @@ -682,7 +584,6 @@ type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptions struct { KafkaOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsKafkaOptions `json:"kafka_options,omitempty"` MetaAdsOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsMetaAdsOptions `json:"meta_ads_options,omitempty"` OutlookOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsOutlookOptions `json:"outlook_options,omitempty"` - RedditAdsOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsRedditAdsOptions `json:"reddit_ads_options,omitempty"` SharepointOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSharepointOptions `json:"sharepoint_options,omitempty"` SmartsheetOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSmartsheetOptions `json:"smartsheet_options,omitempty"` TiktokAdsOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsTiktokAdsOptions `json:"tiktok_ads_options,omitempty"` @@ -721,7 +622,6 @@ type ResourcePipelineIngestionDefinitionObjectsTableTableConfiguration struct { SalesforceIncludeFormulaFields bool `json:"salesforce_include_formula_fields,omitempty"` ScdType string `json:"scd_type,omitempty"` SequenceBy []string `json:"sequence_by,omitempty"` - SourceMetadataColumn string `json:"source_metadata_column,omitempty"` TableProperties map[string]string `json:"table_properties,omitempty"` AutoFullRefreshPolicy *ResourcePipelineIngestionDefinitionObjectsTableTableConfigurationAutoFullRefreshPolicy `json:"auto_full_refresh_policy,omitempty"` QueryBasedConnectorConfig *ResourcePipelineIngestionDefinitionObjectsTableTableConfigurationQueryBasedConnectorConfig `json:"query_based_connector_config,omitempty"` @@ -800,7 +700,6 @@ type ResourcePipelineIngestionDefinitionTableConfiguration struct { SalesforceIncludeFormulaFields bool `json:"salesforce_include_formula_fields,omitempty"` ScdType string `json:"scd_type,omitempty"` SequenceBy []string `json:"sequence_by,omitempty"` - SourceMetadataColumn string `json:"source_metadata_column,omitempty"` TableProperties map[string]string `json:"table_properties,omitempty"` AutoFullRefreshPolicy *ResourcePipelineIngestionDefinitionTableConfigurationAutoFullRefreshPolicy `json:"auto_full_refresh_policy,omitempty"` QueryBasedConnectorConfig *ResourcePipelineIngestionDefinitionTableConfigurationQueryBasedConnectorConfig `json:"query_based_connector_config,omitempty"` diff --git a/bundle/internal/tf/schema/resource_postgres_database.go b/bundle/internal/tf/schema/resource_postgres_database.go index cfaa32f7d28..f9d1dadb469 100644 --- a/bundle/internal/tf/schema/resource_postgres_database.go +++ b/bundle/internal/tf/schema/resource_postgres_database.go @@ -8,7 +8,7 @@ type ResourcePostgresDatabaseProviderConfig struct { type ResourcePostgresDatabaseSpec struct { PostgresDatabase string `json:"postgres_database,omitempty"` - Role string `json:"role"` + Role string `json:"role,omitempty"` } type ResourcePostgresDatabaseStatus struct { diff --git a/bundle/internal/tf/schema/resource_postgres_endpoint.go b/bundle/internal/tf/schema/resource_postgres_endpoint.go index 485c636d278..af17d5f73bc 100644 --- a/bundle/internal/tf/schema/resource_postgres_endpoint.go +++ b/bundle/internal/tf/schema/resource_postgres_endpoint.go @@ -34,10 +34,8 @@ type ResourcePostgresEndpointStatusGroup struct { } type ResourcePostgresEndpointStatusHosts struct { - Host string `json:"host,omitempty"` - ReadOnlyHost string `json:"read_only_host,omitempty"` - ReadOnlyPooledHost string `json:"read_only_pooled_host,omitempty"` - ReadWritePooledHost string `json:"read_write_pooled_host,omitempty"` + Host string `json:"host,omitempty"` + ReadOnlyHost string `json:"read_only_host,omitempty"` } type ResourcePostgresEndpointStatusSettings struct { @@ -53,7 +51,6 @@ type ResourcePostgresEndpointStatus struct { EndpointType string `json:"endpoint_type,omitempty"` Group *ResourcePostgresEndpointStatusGroup `json:"group,omitempty"` Hosts *ResourcePostgresEndpointStatusHosts `json:"hosts,omitempty"` - LastActiveTime string `json:"last_active_time,omitempty"` PendingState string `json:"pending_state,omitempty"` Settings *ResourcePostgresEndpointStatusSettings `json:"settings,omitempty"` SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` diff --git a/bundle/internal/tf/schema/resource_postgres_synced_table.go b/bundle/internal/tf/schema/resource_postgres_synced_table.go index 958684a9129..7d55d52de52 100644 --- a/bundle/internal/tf/schema/resource_postgres_synced_table.go +++ b/bundle/internal/tf/schema/resource_postgres_synced_table.go @@ -6,13 +6,6 @@ type ResourcePostgresSyncedTableProviderConfig struct { WorkspaceId string `json:"workspace_id,omitempty"` } -type ResourcePostgresSyncedTableSpecExtraColumns struct { - ColumnName string `json:"column_name"` - ColumnType string `json:"column_type"` - Compute string `json:"compute,omitempty"` - Maintenance string `json:"maintenance,omitempty"` -} - type ResourcePostgresSyncedTableSpecNewPipelineSpec struct { BudgetPolicyId string `json:"budget_policy_id,omitempty"` StorageCatalog string `json:"storage_catalog,omitempty"` @@ -30,7 +23,6 @@ type ResourcePostgresSyncedTableSpec struct { Branch string `json:"branch,omitempty"` CreateDatabaseObjectsIfMissing bool `json:"create_database_objects_if_missing,omitempty"` ExistingPipelineId string `json:"existing_pipeline_id,omitempty"` - ExtraColumns []ResourcePostgresSyncedTableSpecExtraColumns `json:"extra_columns,omitempty"` NewPipelineSpec *ResourcePostgresSyncedTableSpecNewPipelineSpec `json:"new_pipeline_spec,omitempty"` PostgresDatabase string `json:"postgres_database,omitempty"` PrimaryKeyColumns []string `json:"primary_key_columns,omitempty"` diff --git a/bundle/internal/tf/schema/resource_secret_uc.go b/bundle/internal/tf/schema/resource_secret_uc.go index a26feafc7ee..84e199be6f2 100644 --- a/bundle/internal/tf/schema/resource_secret_uc.go +++ b/bundle/internal/tf/schema/resource_secret_uc.go @@ -7,20 +7,22 @@ type ResourceSecretUcProviderConfig struct { } type ResourceSecretUc struct { - CatalogName string `json:"catalog_name"` - Comment string `json:"comment,omitempty"` - CreateTime string `json:"create_time,omitempty"` - CreatedBy string `json:"created_by,omitempty"` - EffectiveOwner string `json:"effective_owner,omitempty"` - EffectiveValue string `json:"effective_value,omitempty"` - ExpireTime string `json:"expire_time,omitempty"` - FullName string `json:"full_name,omitempty"` - MetastoreId string `json:"metastore_id,omitempty"` - Name string `json:"name"` - Owner string `json:"owner,omitempty"` - ProviderConfig *ResourceSecretUcProviderConfig `json:"provider_config,omitempty"` - SchemaName string `json:"schema_name"` - UpdateTime string `json:"update_time,omitempty"` - UpdatedBy string `json:"updated_by,omitempty"` - Value string `json:"value"` + BrowseOnly bool `json:"browse_only,omitempty"` + CatalogName string `json:"catalog_name"` + Comment string `json:"comment,omitempty"` + CreateTime string `json:"create_time,omitempty"` + CreatedBy string `json:"created_by,omitempty"` + EffectiveOwner string `json:"effective_owner,omitempty"` + EffectiveValue string `json:"effective_value,omitempty"` + ExpireTime string `json:"expire_time,omitempty"` + ExternalSecretId string `json:"external_secret_id,omitempty"` + FullName string `json:"full_name,omitempty"` + MetastoreId string `json:"metastore_id,omitempty"` + Name string `json:"name"` + Owner string `json:"owner,omitempty"` + ProviderConfig *ResourceSecretUcProviderConfig `json:"provider_config,omitempty"` + SchemaName string `json:"schema_name"` + UpdateTime string `json:"update_time,omitempty"` + UpdatedBy string `json:"updated_by,omitempty"` + Value string `json:"value"` } diff --git a/bundle/internal/tf/schema/resources.go b/bundle/internal/tf/schema/resources.go index 4588598b0f9..ed3f5ad9c5e 100644 --- a/bundle/internal/tf/schema/resources.go +++ b/bundle/internal/tf/schema/resources.go @@ -8,9 +8,6 @@ type Resources struct { AccountNetworkPolicy map[string]any `json:"databricks_account_network_policy,omitempty"` AccountSettingUserPreferenceV2 map[string]any `json:"databricks_account_setting_user_preference_v2,omitempty"` AccountSettingV2 map[string]any `json:"databricks_account_setting_v2,omitempty"` - AiGatewayMcpService map[string]any `json:"databricks_ai_gateway_mcp_service,omitempty"` - AiGatewayModelProviderService map[string]any `json:"databricks_ai_gateway_model_provider_service,omitempty"` - AiGatewayModelService map[string]any `json:"databricks_ai_gateway_model_service,omitempty"` AiSearchEndpoint map[string]any `json:"databricks_ai_search_endpoint,omitempty"` AiSearchIndex map[string]any `json:"databricks_ai_search_index,omitempty"` AibiDashboardEmbeddingAccessPolicySetting map[string]any `json:"databricks_aibi_dashboard_embedding_access_policy_setting,omitempty"` @@ -112,7 +109,6 @@ type Resources struct { PolicyInfo map[string]any `json:"databricks_policy_info,omitempty"` PostgresBranch map[string]any `json:"databricks_postgres_branch,omitempty"` PostgresCatalog map[string]any `json:"databricks_postgres_catalog,omitempty"` - PostgresCdfConfig map[string]any `json:"databricks_postgres_cdf_config,omitempty"` PostgresDataApi map[string]any `json:"databricks_postgres_data_api,omitempty"` PostgresDatabase map[string]any `json:"databricks_postgres_database,omitempty"` PostgresEndpoint map[string]any `json:"databricks_postgres_endpoint,omitempty"` @@ -176,9 +172,6 @@ func NewResources() *Resources { AccountNetworkPolicy: make(map[string]any), AccountSettingUserPreferenceV2: make(map[string]any), AccountSettingV2: make(map[string]any), - AiGatewayMcpService: make(map[string]any), - AiGatewayModelProviderService: make(map[string]any), - AiGatewayModelService: make(map[string]any), AiSearchEndpoint: make(map[string]any), AiSearchIndex: make(map[string]any), AibiDashboardEmbeddingAccessPolicySetting: make(map[string]any), @@ -280,7 +273,6 @@ func NewResources() *Resources { PolicyInfo: make(map[string]any), PostgresBranch: make(map[string]any), PostgresCatalog: make(map[string]any), - PostgresCdfConfig: make(map[string]any), PostgresDataApi: make(map[string]any), PostgresDatabase: make(map[string]any), PostgresEndpoint: make(map[string]any), diff --git a/bundle/internal/tf/schema/root.go b/bundle/internal/tf/schema/root.go index b20714b97af..26c72930e4d 100644 --- a/bundle/internal/tf/schema/root.go +++ b/bundle/internal/tf/schema/root.go @@ -22,9 +22,9 @@ type Root struct { const ( ProviderHost = "registry.terraform.io" ProviderSource = "databricks/databricks" - ProviderVersion = "1.124.0" - ProviderChecksumLinuxAmd64 = "3906550da66adc334c8eca6a5c2a06590a2359fa0ca89e7db16c36fd3467ebab" - ProviderChecksumLinuxArm64 = "947ee85262993412855ea0d0b7d4a11b06dc1e0e64e1f9bb51dcc93f43479919" + ProviderVersion = "1.125.0" + ProviderChecksumLinuxAmd64 = "00ff9f7bc1aafd50ea385f6c1ebdfc711f0f9b8f9861cd6ba118578c58deafb8" + ProviderChecksumLinuxArm64 = "19754134f13531ab69dad72e43979ee194a38a7972ba7e20f8be21b679e2182c" ) func NewRoot() *Root { diff --git a/bundle/terraform_dabs_map/generated.go b/bundle/terraform_dabs_map/generated.go index 8d202a26839..84fed76d30c 100644 --- a/bundle/terraform_dabs_map/generated.go +++ b/bundle/terraform_dabs_map/generated.go @@ -2,21 +2,24 @@ package terraform_dabs_map -// alerts / databricks_alert_v2: 1 dabs-only +// alerts / databricks_alert_v2: 5 dabs-only // alerts / databricks_alert_v2: 3 tf-only // apps / databricks_app: 16 dabs-only // apps / databricks_app: 1 tf-only -// clusters / databricks_cluster: 26 tf-only +// clusters / databricks_cluster: 1 dabs-only +// clusters / databricks_cluster: 25 tf-only // dashboards / databricks_dashboard: 2 tf-only // database_instances / databricks_database_instance: 1 tf-only +// experiments / databricks_mlflow_experiment: 6 dabs-only // experiments / databricks_mlflow_experiment: 1 tf-only // jobs / databricks_job: 11 renames -// jobs / databricks_job: 7 dabs-only -// jobs / databricks_job: 259 tf-only +// jobs / databricks_job: 20 dabs-only +// jobs / databricks_job: 258 tf-only +// model_serving_endpoints / databricks_model_serving: 6 dabs-only // model_serving_endpoints / databricks_model_serving: 2 tf-only // models / databricks_mlflow_model: 1 renames // pipelines / databricks_pipeline: 3 renames -// pipelines / databricks_pipeline: 6 dabs-only +// pipelines / databricks_pipeline: 68 dabs-only // pipelines / databricks_pipeline: 2 tf-only // postgres_branches / databricks_postgres_branch: 1 unwraps // postgres_catalogs / databricks_postgres_catalog: 1 unwraps @@ -25,6 +28,7 @@ package terraform_dabs_map // postgres_projects / databricks_postgres_project: 2 tf-only // postgres_projects / databricks_postgres_project: 1 unwraps // postgres_roles / databricks_postgres_role: 1 unwraps +// postgres_synced_tables / databricks_postgres_synced_table: 5 dabs-only // postgres_synced_tables / databricks_postgres_synced_table: 1 unwraps // schemas / databricks_schema: 1 dabs-only // schemas / databricks_schema: 1 tf-only @@ -89,6 +93,11 @@ var TerraformToDABsFieldMap = map[string]RenameTree{ var DABsOnlyFields = map[string]FieldSet{ "alerts": { "file_path": {}, + "parameters": { + "name": {}, // alerts.*.parameters.name + "type": {}, // alerts.*.parameters.type + "value": {}, // alerts.*.parameters.value + }, }, "apps": { "config": { @@ -112,10 +121,33 @@ var DABsOnlyFields = map[string]FieldSet{ }, "source_code_path": {}, }, + "clusters": { + "dependency_mode": {}, + }, + "experiments": { + "trace_location": { + "uc_trace_location": { + "catalog": {}, // experiments.*.trace_location.uc_trace_location.catalog + "effective_table_prefix": {}, // experiments.*.trace_location.uc_trace_location.effective_table_prefix + "schema": {}, // experiments.*.trace_location.uc_trace_location.schema + "table_prefix": {}, // experiments.*.trace_location.uc_trace_location.table_prefix + }, + }, + }, "jobs": { "job_clusters": { "new_cluster": { "autotermination_minutes": {}, // jobs.*.job_clusters.new_cluster.autotermination_minutes + "dependency_mode": {}, // jobs.*.job_clusters.new_cluster.dependency_mode + }, + "serverless_compute_id": {}, // jobs.*.job_clusters.serverless_compute_id + }, + "parent_path": {}, + "schedule": { + "sql_condition": { + "sql_query_id": {}, // jobs.*.schedule.sql_condition.sql_query_id + "trigger_mode": {}, // jobs.*.schedule.sql_condition.trigger_mode + "warehouse_id": {}, // jobs.*.schedule.sql_condition.warehouse_id }, }, "tasks": { @@ -128,14 +160,34 @@ var DABsOnlyFields = map[string]FieldSet{ }, "new_cluster": { "autotermination_minutes": {}, // jobs.*.tasks.for_each_task.task.new_cluster.autotermination_minutes + "dependency_mode": {}, // jobs.*.tasks.for_each_task.task.new_cluster.dependency_mode }, }, }, "new_cluster": { "autotermination_minutes": {}, // jobs.*.tasks.new_cluster.autotermination_minutes + "dependency_mode": {}, // jobs.*.tasks.new_cluster.dependency_mode + }, + }, + "trigger": { + "sql_condition": { + "sql_query_id": {}, // jobs.*.trigger.sql_condition.sql_query_id + "trigger_mode": {}, // jobs.*.trigger.sql_condition.trigger_mode + "warehouse_id": {}, // jobs.*.trigger.sql_condition.warehouse_id }, }, }, + "model_serving_endpoints": { + "telemetry_config": { + "table_names": { + "annotations_table": {}, // model_serving_endpoints.*.telemetry_config.table_names.annotations_table + "logs_table": {}, // model_serving_endpoints.*.telemetry_config.table_names.logs_table + "metrics_table": {}, // model_serving_endpoints.*.telemetry_config.table_names.metrics_table + "traces_table": {}, // model_serving_endpoints.*.telemetry_config.table_names.traces_table + }, + "telemetry_profile_id": {}, // model_serving_endpoints.*.telemetry_config.telemetry_profile_id + }, + }, "pipelines": { "cascade_on_destroy": {}, "clusters": { @@ -145,10 +197,127 @@ var DABsOnlyFields = map[string]FieldSet{ }, }, "dry_run": {}, + "ingestion_definition": { + "objects": { + "report": { + "table_configuration": { + "source_metadata_column": {}, // pipelines.*.ingestion_definition.objects.report.table_configuration.source_metadata_column + }, + }, + "schema": { + "connector_options": { + "google_ads_options": { + "custom_report_options": { + "metrics": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.google_ads_options.custom_report_options.metrics + "resource": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.google_ads_options.custom_report_options.resource + "resource_fields": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.google_ads_options.custom_report_options.resource_fields + "segments": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.google_ads_options.custom_report_options.segments + }, + }, + "meta_ads_options": { + "custom_report_options": { + "action_attribution_windows": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.meta_ads_options.custom_report_options.action_attribution_windows + "action_breakdowns": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.meta_ads_options.custom_report_options.action_breakdowns + "action_report_time": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.meta_ads_options.custom_report_options.action_report_time + "breakdowns": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.meta_ads_options.custom_report_options.breakdowns + "level": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.meta_ads_options.custom_report_options.level + "time_increment": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.meta_ads_options.custom_report_options.time_increment + }, + }, + "reddit_ads_options": { + "custom_report_options": { + "breakdowns": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.reddit_ads_options.custom_report_options.breakdowns + "fields": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.reddit_ads_options.custom_report_options.fields + }, + "lookback_window_days": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.reddit_ads_options.lookback_window_days + "sync_start_date": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.reddit_ads_options.sync_start_date + }, + "tiktok_ads_options": { + "custom_report_options": { + "data_level": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.tiktok_ads_options.custom_report_options.data_level + "dimensions": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.tiktok_ads_options.custom_report_options.dimensions + "metrics": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.tiktok_ads_options.custom_report_options.metrics + "query_lifetime": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.tiktok_ads_options.custom_report_options.query_lifetime + "report_type": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.tiktok_ads_options.custom_report_options.report_type + }, + }, + }, + "fanout_options": { + "fanout_by": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.fanout_by + "transforms": { + "format": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.transforms.format + "json_options": { + "as_variant": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.as_variant + "schema": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.schema + "schema_evolution_mode": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.schema_evolution_mode + "schema_file_path": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.schema_file_path + "schema_hints": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.schema_hints + }, + }, + }, + "table_configuration": { + "source_metadata_column": {}, // pipelines.*.ingestion_definition.objects.schema.table_configuration.source_metadata_column + }, + }, + "table": { + "connector_options": { + "google_ads_options": { + "custom_report_options": { + "metrics": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.google_ads_options.custom_report_options.metrics + "resource": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.google_ads_options.custom_report_options.resource + "resource_fields": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.google_ads_options.custom_report_options.resource_fields + "segments": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.google_ads_options.custom_report_options.segments + }, + }, + "meta_ads_options": { + "custom_report_options": { + "action_attribution_windows": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.meta_ads_options.custom_report_options.action_attribution_windows + "action_breakdowns": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.meta_ads_options.custom_report_options.action_breakdowns + "action_report_time": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.meta_ads_options.custom_report_options.action_report_time + "breakdowns": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.meta_ads_options.custom_report_options.breakdowns + "level": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.meta_ads_options.custom_report_options.level + "time_increment": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.meta_ads_options.custom_report_options.time_increment + }, + }, + "reddit_ads_options": { + "custom_report_options": { + "breakdowns": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.reddit_ads_options.custom_report_options.breakdowns + "fields": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.reddit_ads_options.custom_report_options.fields + }, + "lookback_window_days": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.reddit_ads_options.lookback_window_days + "sync_start_date": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.reddit_ads_options.sync_start_date + }, + "tiktok_ads_options": { + "custom_report_options": { + "data_level": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.tiktok_ads_options.custom_report_options.data_level + "dimensions": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.tiktok_ads_options.custom_report_options.dimensions + "metrics": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.tiktok_ads_options.custom_report_options.metrics + "query_lifetime": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.tiktok_ads_options.custom_report_options.query_lifetime + "report_type": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.tiktok_ads_options.custom_report_options.report_type + }, + }, + }, + "table_configuration": { + "source_metadata_column": {}, // pipelines.*.ingestion_definition.objects.table.table_configuration.source_metadata_column + }, + }, + }, + "table_configuration": { + "source_metadata_column": {}, // pipelines.*.ingestion_definition.table_configuration.source_metadata_column + }, + }, "parameters": { "*": {}, // pipelines.*.parameters.* }, }, + "postgres_synced_tables": { + "extra_columns": { + "column_name": {}, // postgres_synced_tables.*.extra_columns.column_name + "column_type": {}, // postgres_synced_tables.*.extra_columns.column_type + "compute": {}, // postgres_synced_tables.*.extra_columns.compute + "maintenance": {}, // postgres_synced_tables.*.extra_columns.maintenance + }, + }, "schemas": { "custom_max_retention_hours": {}, }, @@ -169,7 +338,6 @@ var TerraformOnlyFields = map[string]FieldSet{ "no_compute": {}, }, "clusters": { - "clear_cloud_attributes_on_remove": {}, "cluster_mount_info": { "local_mount_dir_path": {}, // databricks_cluster.*.cluster_mount_info.local_mount_dir_path "network_filesystem_info": { @@ -339,7 +507,6 @@ var TerraformOnlyFields = map[string]FieldSet{ "*": {}, // databricks_job.*.new_cluster.custom_tags.* }, "data_security_mode": {}, // databricks_job.*.new_cluster.data_security_mode - "dependency_mode": {}, // databricks_job.*.new_cluster.dependency_mode "docker_image": { "basic_auth": { "password": {}, // databricks_job.*.new_cluster.docker_image.basic_auth.password @@ -678,7 +845,6 @@ var DABsToTerraformWrapperFields = map[string]FieldSet{ "branch": {}, "create_database_objects_if_missing": {}, "existing_pipeline_id": {}, - "extra_columns": {}, "new_pipeline_spec": {}, "postgres_database": {}, "primary_key_columns": {},