From 52ce09afd910652b6614dbf185329239f0e60100 Mon Sep 17 00:00:00 2001 From: Andrew Nester Date: Wed, 29 Jul 2026 15:11:31 +0200 Subject: [PATCH 1/5] Upgrade TF provider to 1.123.0 --- .../dependency-updates/tf-provider.md | 1 + bundle/internal/tf/codegen/schema/version.go | 2 +- .../tf/schema/data_source_alert_v2.go | 7 +++ .../tf/schema/data_source_alerts_v2.go | 7 +++ .../internal/tf/schema/data_source_cluster.go | 2 + .../tf/schema/data_source_endpoint.go | 16 ++++++ .../tf/schema/data_source_endpoints.go | 16 ++++++ ...data_source_feature_engineering_feature.go | 56 ++++++++----------- ...ata_source_feature_engineering_features.go | 56 ++++++++----------- .../schema/data_source_mlflow_experiment.go | 7 ++- .../data_source_postgres_synced_table.go | 8 +++ .../tf/schema/data_source_recipients.go | 12 ++++ .../schema/data_source_serving_endpoints.go | 9 +++ bundle/internal/tf/schema/data_sources.go | 2 + .../internal/tf/schema/resource_alert_v2.go | 7 +++ bundle/internal/tf/schema/resource_cluster.go | 1 + .../internal/tf/schema/resource_endpoint.go | 16 ++++++ .../resource_feature_engineering_feature.go | 56 ++++++++----------- bundle/internal/tf/schema/resource_job.go | 11 +++- .../tf/schema/resource_mlflow_experiment.go | 7 ++- .../tf/schema/resource_model_serving.go | 9 +++ .../internal/tf/schema/resource_pipeline.go | 43 ++++++++++++++ .../schema/resource_postgres_synced_table.go | 8 +++ bundle/internal/tf/schema/root.go | 6 +- 24 files changed, 257 insertions(+), 108 deletions(-) create mode 100644 .nextchanges/dependency-updates/tf-provider.md create mode 100644 bundle/internal/tf/schema/data_source_recipients.go diff --git a/.nextchanges/dependency-updates/tf-provider.md b/.nextchanges/dependency-updates/tf-provider.md new file mode 100644 index 00000000000..1cb6b56c000 --- /dev/null +++ b/.nextchanges/dependency-updates/tf-provider.md @@ -0,0 +1 @@ +Upgrade Terraform provider to 1.123.0 diff --git a/bundle/internal/tf/codegen/schema/version.go b/bundle/internal/tf/codegen/schema/version.go index 0539cdc0510..653bc8a40d5 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.122.0" +const ProviderVersion = "1.123.0" diff --git a/bundle/internal/tf/schema/data_source_alert_v2.go b/bundle/internal/tf/schema/data_source_alert_v2.go index c609a8f9189..bb45eb55914 100644 --- a/bundle/internal/tf/schema/data_source_alert_v2.go +++ b/bundle/internal/tf/schema/data_source_alert_v2.go @@ -53,6 +53,12 @@ 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"` } @@ -78,6 +84,7 @@ 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 5675e0aa56c..d61adb2929d 100644 --- a/bundle/internal/tf/schema/data_source_alerts_v2.go +++ b/bundle/internal/tf/schema/data_source_alerts_v2.go @@ -53,6 +53,12 @@ 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"` } @@ -78,6 +84,7 @@ 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 5d65b2f989b..0623526dcf1 100644 --- a/bundle/internal/tf/schema/data_source_cluster.go +++ b/bundle/internal/tf/schema/data_source_cluster.go @@ -348,6 +348,7 @@ 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"` @@ -413,6 +414,7 @@ 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_endpoint.go b/bundle/internal/tf/schema/data_source_endpoint.go index 39e726b8b1f..1fd4ac10f57 100644 --- a/bundle/internal/tf/schema/data_source_endpoint.go +++ b/bundle/internal/tf/schema/data_source_endpoint.go @@ -2,6 +2,12 @@ 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"` @@ -9,12 +15,22 @@ 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 1cef5b123aa..56dc425760e 100644 --- a/bundle/internal/tf/schema/data_source_endpoints.go +++ b/bundle/internal/tf/schema/data_source_endpoints.go @@ -2,6 +2,12 @@ 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"` @@ -9,12 +15,22 @@ 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 8a3f2937f38..ea1ec37cee9 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_feature.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_feature.go @@ -78,23 +78,19 @@ type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowCon WindowDuration string `json:"window_duration"` } -type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowLifetime struct { - SlideDuration string `json:"slide_duration,omitempty"` -} - -type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowLongRolling struct { +type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } -type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling struct { +type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSawtooth struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbling struct { @@ -102,12 +98,11 @@ type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTum } type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindow struct { - Continuous *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowContinuous `json:"continuous,omitempty"` - Lifetime *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowLifetime `json:"lifetime,omitempty"` - LongRolling *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowLongRolling `json:"long_rolling,omitempty"` - Rolling *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling `json:"rolling,omitempty"` - Sliding *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSliding `json:"sliding,omitempty"` - Tumbling *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbling `json:"tumbling,omitempty"` + 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"` } type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionVarPop struct { @@ -207,8 +202,10 @@ type DataSourceFeatureEngineeringFeatureSourceRequestSource struct { } type DataSourceFeatureEngineeringFeatureSourceStreamSource struct { - FilterCondition string `json:"filter_condition,omitempty"` - FullName string `json:"full_name"` + DataframeSchema string `json:"dataframe_schema,omitempty"` + FilterCondition string `json:"filter_condition,omitempty"` + FullName string `json:"full_name"` + TransformationSql string `json:"transformation_sql,omitempty"` } type DataSourceFeatureEngineeringFeatureSource struct { @@ -223,23 +220,19 @@ type DataSourceFeatureEngineeringFeatureTimeWindowContinuous struct { WindowDuration string `json:"window_duration"` } -type DataSourceFeatureEngineeringFeatureTimeWindowLifetime struct { - SlideDuration string `json:"slide_duration,omitempty"` -} - -type DataSourceFeatureEngineeringFeatureTimeWindowLongRolling struct { +type DataSourceFeatureEngineeringFeatureTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } -type DataSourceFeatureEngineeringFeatureTimeWindowRolling struct { +type DataSourceFeatureEngineeringFeatureTimeWindowSawtooth struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } type DataSourceFeatureEngineeringFeatureTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } type DataSourceFeatureEngineeringFeatureTimeWindowTumbling struct { @@ -247,12 +240,11 @@ type DataSourceFeatureEngineeringFeatureTimeWindowTumbling struct { } type DataSourceFeatureEngineeringFeatureTimeWindow struct { - Continuous *DataSourceFeatureEngineeringFeatureTimeWindowContinuous `json:"continuous,omitempty"` - Lifetime *DataSourceFeatureEngineeringFeatureTimeWindowLifetime `json:"lifetime,omitempty"` - LongRolling *DataSourceFeatureEngineeringFeatureTimeWindowLongRolling `json:"long_rolling,omitempty"` - Rolling *DataSourceFeatureEngineeringFeatureTimeWindowRolling `json:"rolling,omitempty"` - Sliding *DataSourceFeatureEngineeringFeatureTimeWindowSliding `json:"sliding,omitempty"` - Tumbling *DataSourceFeatureEngineeringFeatureTimeWindowTumbling `json:"tumbling,omitempty"` + 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"` } type DataSourceFeatureEngineeringFeatureTimeseriesColumn struct { 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 f63f1afc92d..a153b7237cb 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_features.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_features.go @@ -78,23 +78,19 @@ type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTime WindowDuration string `json:"window_duration"` } -type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowLifetime struct { - SlideDuration string `json:"slide_duration,omitempty"` -} - -type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowLongRolling struct { +type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } -type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowRolling struct { +type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowSawtooth struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowTumbling struct { @@ -102,12 +98,11 @@ type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTime } type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindow struct { - Continuous *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowContinuous `json:"continuous,omitempty"` - Lifetime *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowLifetime `json:"lifetime,omitempty"` - LongRolling *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowLongRolling `json:"long_rolling,omitempty"` - Rolling *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowRolling `json:"rolling,omitempty"` - Sliding *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowSliding `json:"sliding,omitempty"` - Tumbling *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowTumbling `json:"tumbling,omitempty"` + 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"` } type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionVarPop struct { @@ -207,8 +202,10 @@ type DataSourceFeatureEngineeringFeaturesFeaturesSourceRequestSource struct { } type DataSourceFeatureEngineeringFeaturesFeaturesSourceStreamSource struct { - FilterCondition string `json:"filter_condition,omitempty"` - FullName string `json:"full_name"` + DataframeSchema string `json:"dataframe_schema,omitempty"` + FilterCondition string `json:"filter_condition,omitempty"` + FullName string `json:"full_name"` + TransformationSql string `json:"transformation_sql,omitempty"` } type DataSourceFeatureEngineeringFeaturesFeaturesSource struct { @@ -223,23 +220,19 @@ type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowContinuous struct { WindowDuration string `json:"window_duration"` } -type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowLifetime struct { - SlideDuration string `json:"slide_duration,omitempty"` -} - -type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowLongRolling struct { +type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } -type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowRolling struct { +type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowSawtooth struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowTumbling struct { @@ -247,12 +240,11 @@ type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowTumbling struct { } type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindow struct { - Continuous *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowContinuous `json:"continuous,omitempty"` - Lifetime *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowLifetime `json:"lifetime,omitempty"` - LongRolling *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowLongRolling `json:"long_rolling,omitempty"` - Rolling *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowRolling `json:"rolling,omitempty"` - Sliding *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowSliding `json:"sliding,omitempty"` - Tumbling *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowTumbling `json:"tumbling,omitempty"` + 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"` } type DataSourceFeatureEngineeringFeaturesFeaturesTimeseriesColumn struct { diff --git a/bundle/internal/tf/schema/data_source_mlflow_experiment.go b/bundle/internal/tf/schema/data_source_mlflow_experiment.go index d62ed542f1f..2b01a2f2557 100644 --- a/bundle/internal/tf/schema/data_source_mlflow_experiment.go +++ b/bundle/internal/tf/schema/data_source_mlflow_experiment.go @@ -12,9 +12,10 @@ type DataSourceMlflowExperimentTags struct { } type DataSourceMlflowExperimentTraceLocationUcTraceLocation struct { - Catalog string `json:"catalog"` - Schema string `json:"schema"` - TablePrefix string `json:"table_prefix,omitempty"` + Catalog string `json:"catalog"` + EffectiveTablePrefix string `json:"effective_table_prefix,omitempty"` + Schema string `json:"schema"` + TablePrefix string `json:"table_prefix,omitempty"` } type DataSourceMlflowExperimentTraceLocation struct { 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 9f69a5fa449..2f901b4bb7e 100644 --- a/bundle/internal/tf/schema/data_source_postgres_synced_table.go +++ b/bundle/internal/tf/schema/data_source_postgres_synced_table.go @@ -6,6 +6,13 @@ 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"` @@ -23,6 +30,7 @@ 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_recipients.go b/bundle/internal/tf/schema/data_source_recipients.go new file mode 100644 index 00000000000..c281019dbad --- /dev/null +++ b/bundle/internal/tf/schema/data_source_recipients.go @@ -0,0 +1,12 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourceRecipientsProviderConfig struct { + WorkspaceId string `json:"workspace_id,omitempty"` +} + +type DataSourceRecipients struct { + ProviderConfig *DataSourceRecipientsProviderConfig `json:"provider_config,omitempty"` + Recipients []string `json:"recipients,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_serving_endpoints.go b/bundle/internal/tf/schema/data_source_serving_endpoints.go index 7347ee3b189..f94fc842d5f 100644 --- a/bundle/internal/tf/schema/data_source_serving_endpoints.go +++ b/bundle/internal/tf/schema/data_source_serving_endpoints.go @@ -191,8 +191,17 @@ 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 b4583acd80a..16bd84c034c 100644 --- a/bundle/internal/tf/schema/data_sources.go +++ b/bundle/internal/tf/schema/data_sources.go @@ -121,6 +121,7 @@ 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"` @@ -282,6 +283,7 @@ 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 b9cdec84717..e44b8ba27ca 100644 --- a/bundle/internal/tf/schema/resource_alert_v2.go +++ b/bundle/internal/tf/schema/resource_alert_v2.go @@ -53,6 +53,12 @@ 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"` } @@ -78,6 +84,7 @@ 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_cluster.go b/bundle/internal/tf/schema/resource_cluster.go index 8fc022d1a09..2f38f662f92 100644 --- a/bundle/internal/tf/schema/resource_cluster.go +++ b/bundle/internal/tf/schema/resource_cluster.go @@ -189,6 +189,7 @@ type ResourceCluster 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/resource_endpoint.go b/bundle/internal/tf/schema/resource_endpoint.go index 0b010ce55b0..b1be5023943 100644 --- a/bundle/internal/tf/schema/resource_endpoint.go +++ b/bundle/internal/tf/schema/resource_endpoint.go @@ -2,6 +2,12 @@ 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"` @@ -9,12 +15,22 @@ 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 0b43610e241..d4d7f63572f 100644 --- a/bundle/internal/tf/schema/resource_feature_engineering_feature.go +++ b/bundle/internal/tf/schema/resource_feature_engineering_feature.go @@ -78,23 +78,19 @@ type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowConti WindowDuration string `json:"window_duration"` } -type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowLifetime struct { - SlideDuration string `json:"slide_duration,omitempty"` -} - -type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowLongRolling struct { +type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } -type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling struct { +type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSawtooth struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbling struct { @@ -102,12 +98,11 @@ type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbl } type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindow struct { - Continuous *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowContinuous `json:"continuous,omitempty"` - Lifetime *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowLifetime `json:"lifetime,omitempty"` - LongRolling *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowLongRolling `json:"long_rolling,omitempty"` - Rolling *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling `json:"rolling,omitempty"` - Sliding *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSliding `json:"sliding,omitempty"` - Tumbling *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbling `json:"tumbling,omitempty"` + 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"` } type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionVarPop struct { @@ -207,8 +202,10 @@ type ResourceFeatureEngineeringFeatureSourceRequestSource struct { } type ResourceFeatureEngineeringFeatureSourceStreamSource struct { - FilterCondition string `json:"filter_condition,omitempty"` - FullName string `json:"full_name"` + DataframeSchema string `json:"dataframe_schema,omitempty"` + FilterCondition string `json:"filter_condition,omitempty"` + FullName string `json:"full_name"` + TransformationSql string `json:"transformation_sql,omitempty"` } type ResourceFeatureEngineeringFeatureSource struct { @@ -223,23 +220,19 @@ type ResourceFeatureEngineeringFeatureTimeWindowContinuous struct { WindowDuration string `json:"window_duration"` } -type ResourceFeatureEngineeringFeatureTimeWindowLifetime struct { - SlideDuration string `json:"slide_duration,omitempty"` -} - -type ResourceFeatureEngineeringFeatureTimeWindowLongRolling struct { +type ResourceFeatureEngineeringFeatureTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } -type ResourceFeatureEngineeringFeatureTimeWindowRolling struct { +type ResourceFeatureEngineeringFeatureTimeWindowSawtooth struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } type ResourceFeatureEngineeringFeatureTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration"` + WindowDuration string `json:"window_duration,omitempty"` } type ResourceFeatureEngineeringFeatureTimeWindowTumbling struct { @@ -247,12 +240,11 @@ type ResourceFeatureEngineeringFeatureTimeWindowTumbling struct { } type ResourceFeatureEngineeringFeatureTimeWindow struct { - Continuous *ResourceFeatureEngineeringFeatureTimeWindowContinuous `json:"continuous,omitempty"` - Lifetime *ResourceFeatureEngineeringFeatureTimeWindowLifetime `json:"lifetime,omitempty"` - LongRolling *ResourceFeatureEngineeringFeatureTimeWindowLongRolling `json:"long_rolling,omitempty"` - Rolling *ResourceFeatureEngineeringFeatureTimeWindowRolling `json:"rolling,omitempty"` - Sliding *ResourceFeatureEngineeringFeatureTimeWindowSliding `json:"sliding,omitempty"` - Tumbling *ResourceFeatureEngineeringFeatureTimeWindowTumbling `json:"tumbling,omitempty"` + 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"` } type ResourceFeatureEngineeringFeatureTimeseriesColumn struct { diff --git a/bundle/internal/tf/schema/resource_job.go b/bundle/internal/tf/schema/resource_job.go index cbcc939e4a3..3a84cf10987 100644 --- a/bundle/internal/tf/schema/resource_job.go +++ b/bundle/internal/tf/schema/resource_job.go @@ -271,6 +271,7 @@ 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"` @@ -307,8 +308,9 @@ type ResourceJobJobClusterNewCluster struct { } type ResourceJobJobCluster struct { - JobClusterKey string `json:"job_cluster_key"` - NewCluster *ResourceJobJobClusterNewCluster `json:"new_cluster,omitempty"` + JobClusterKey string `json:"job_cluster_key"` + ServerlessComputeId string `json:"serverless_compute_id,omitempty"` + NewCluster *ResourceJobJobClusterNewCluster `json:"new_cluster,omitempty"` } type ResourceJobLibraryCran struct { @@ -531,6 +533,7 @@ 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"` @@ -655,6 +658,7 @@ type ResourceJobTaskAiRuntimeTaskDeployments struct { } type ResourceJobTaskAiRuntimeTask struct { + CodeSourcePath string `json:"code_source_path,omitempty"` Experiment string `json:"experiment"` MlflowExperimentDirectory string `json:"mlflow_experiment_directory,omitempty"` MlflowRun string `json:"mlflow_run,omitempty"` @@ -754,6 +758,7 @@ type ResourceJobTaskForEachTaskTaskAiRuntimeTaskDeployments struct { } type ResourceJobTaskForEachTaskTaskAiRuntimeTask struct { + CodeSourcePath string `json:"code_source_path,omitempty"` Experiment string `json:"experiment"` MlflowExperimentDirectory string `json:"mlflow_experiment_directory,omitempty"` MlflowRun string `json:"mlflow_run,omitempty"` @@ -1088,6 +1093,7 @@ 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"` @@ -1589,6 +1595,7 @@ 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"` diff --git a/bundle/internal/tf/schema/resource_mlflow_experiment.go b/bundle/internal/tf/schema/resource_mlflow_experiment.go index 8e85ada0184..972496bc15e 100644 --- a/bundle/internal/tf/schema/resource_mlflow_experiment.go +++ b/bundle/internal/tf/schema/resource_mlflow_experiment.go @@ -12,9 +12,10 @@ type ResourceMlflowExperimentTags struct { } type ResourceMlflowExperimentTraceLocationUcTraceLocation struct { - Catalog string `json:"catalog"` - Schema string `json:"schema"` - TablePrefix string `json:"table_prefix,omitempty"` + Catalog string `json:"catalog"` + EffectiveTablePrefix string `json:"effective_table_prefix,omitempty"` + Schema string `json:"schema"` + TablePrefix string `json:"table_prefix,omitempty"` } type ResourceMlflowExperimentTraceLocation struct { diff --git a/bundle/internal/tf/schema/resource_model_serving.go b/bundle/internal/tf/schema/resource_model_serving.go index 3bc6ffebf94..4e892225e6b 100644 --- a/bundle/internal/tf/schema/resource_model_serving.go +++ b/bundle/internal/tf/schema/resource_model_serving.go @@ -234,8 +234,17 @@ 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 9e9bb9bc2a0..ee4ff04fda0 100644 --- a/bundle/internal/tf/schema/resource_pipeline.go +++ b/bundle/internal/tf/schema/resource_pipeline.go @@ -346,6 +346,17 @@ 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"` @@ -407,12 +418,31 @@ 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"` @@ -458,6 +488,7 @@ 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"` } @@ -579,6 +610,17 @@ 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"` @@ -640,6 +682,7 @@ 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"` diff --git a/bundle/internal/tf/schema/resource_postgres_synced_table.go b/bundle/internal/tf/schema/resource_postgres_synced_table.go index 7d55d52de52..958684a9129 100644 --- a/bundle/internal/tf/schema/resource_postgres_synced_table.go +++ b/bundle/internal/tf/schema/resource_postgres_synced_table.go @@ -6,6 +6,13 @@ 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"` @@ -23,6 +30,7 @@ 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/root.go b/bundle/internal/tf/schema/root.go index 650cad3b7e8..83f3f59a966 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.122.0" - ProviderChecksumLinuxAmd64 = "6c01baf771cec6c4a49449146e07040a74dcddb5b9a0cbd5b7697c1f1eba1e6d" - ProviderChecksumLinuxArm64 = "e336b8c68b4bf44279947cb3324d5fc2a26cdb8d4c3c407602c9933b4d4503e4" + ProviderVersion = "1.123.0" + ProviderChecksumLinuxAmd64 = "e313f21a8d6181c4a239c2ac8a692adc824660cba8e069ed400782938628c0ef" + ProviderChecksumLinuxArm64 = "11da912f542246f642ff2e2169dc11ff486ec18d76e7dfc21a7930b2f8f8f8db" ) func NewRoot() *Root { From e6c726b9cc1a33ab34efbc208f8a29c5a5a79a4e Mon Sep 17 00:00:00 2001 From: Andrew Nester Date: Wed, 29 Jul 2026 15:18:57 +0200 Subject: [PATCH 2/5] regenerate map --- bundle/terraform_dabs_map/generated.go | 168 ++++++++++++++++++++----- 1 file changed, 137 insertions(+), 31 deletions(-) diff --git a/bundle/terraform_dabs_map/generated.go b/bundle/terraform_dabs_map/generated.go index fb848dbb480..95d86f2a39d 100644 --- a/bundle/terraform_dabs_map/generated.go +++ b/bundle/terraform_dabs_map/generated.go @@ -3,21 +3,21 @@ package terraform_dabs_map // alerts / databricks_alert_v2: 1 dabs-only -// alerts / databricks_alert_v2: 3 tf-only +// alerts / databricks_alert_v2: 7 tf-only // apps / databricks_app: 16 dabs-only // apps / databricks_app: 1 tf-only -// clusters / databricks_cluster: 26 tf-only +// clusters / databricks_cluster: 27 tf-only // dashboards / databricks_dashboard: 2 tf-only // database_instances / databricks_database_instance: 1 tf-only -// experiments / databricks_mlflow_experiment: 1 tf-only +// experiments / databricks_mlflow_experiment: 2 tf-only // jobs / databricks_job: 11 renames // jobs / databricks_job: 7 dabs-only -// jobs / databricks_job: 258 tf-only -// model_serving_endpoints / databricks_model_serving: 2 tf-only +// jobs / databricks_job: 265 tf-only +// model_serving_endpoints / databricks_model_serving: 8 tf-only // models / databricks_mlflow_model: 1 renames // pipelines / databricks_pipeline: 3 renames // pipelines / databricks_pipeline: 5 dabs-only -// pipelines / databricks_pipeline: 2 tf-only +// pipelines / databricks_pipeline: 24 tf-only // postgres_branches / databricks_postgres_branch: 1 unwraps // postgres_catalogs / databricks_postgres_catalog: 1 unwraps // postgres_databases / databricks_postgres_database: 1 unwraps @@ -25,7 +25,8 @@ 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: 1 unwraps +// postgres_synced_tables / databricks_postgres_synced_table: 17 dabs-only +// postgres_synced_tables / databricks_postgres_synced_table: 23 tf-only // schemas / databricks_schema: 1 dabs-only // schemas / databricks_schema: 1 tf-only // secret_scopes / databricks_secret_scope: 1 tf-only @@ -80,9 +81,6 @@ var TerraformToDABsFieldMap = map[string]RenameTree{ "postgres_roles": { "spec": {Unwrap: true}, }, - "postgres_synced_tables": { - "spec": {Unwrap: true}, - }, } // DABsOnlyFields maps DABs group name → FieldSet of DABs fields with no TF equivalent. @@ -148,6 +146,27 @@ var DABsOnlyFields = map[string]FieldSet{ "*": {}, // pipelines.*.parameters.* }, }, + "postgres_synced_tables": { + "accelerated_sync": {}, + "branch": {}, + "create_database_objects_if_missing": {}, + "existing_pipeline_id": {}, + "new_pipeline_spec": { + "budget_policy_id": {}, // postgres_synced_tables.*.new_pipeline_spec.budget_policy_id + "storage_catalog": {}, // postgres_synced_tables.*.new_pipeline_spec.storage_catalog + "storage_schema": {}, // postgres_synced_tables.*.new_pipeline_spec.storage_schema + }, + "postgres_database": {}, + "primary_key_columns": {}, + "scheduling_policy": {}, + "source_table_full_name": {}, + "timeseries_key": {}, + "type_overrides": { + "column_name": {}, // postgres_synced_tables.*.type_overrides.column_name + "pg_type": {}, // postgres_synced_tables.*.type_overrides.pg_type + "size": {}, // postgres_synced_tables.*.type_overrides.size + }, + }, "schemas": { "custom_max_retention_hours": {}, }, @@ -162,6 +181,11 @@ var TerraformOnlyFields = map[string]FieldSet{ "effective_retrigger_seconds": {}, // databricks_alert_v2.*.evaluation.notification.effective_retrigger_seconds }, }, + "parameters": { + "name": {}, // databricks_alert_v2.*.parameters.name + "type": {}, // databricks_alert_v2.*.parameters.type + "value": {}, // databricks_alert_v2.*.parameters.value + }, "purge_on_delete": {}, }, "apps": { @@ -177,6 +201,7 @@ var TerraformOnlyFields = map[string]FieldSet{ }, "remote_mount_dir_path": {}, // databricks_cluster.*.cluster_mount_info.remote_mount_dir_path }, + "dependency_mode": {}, "idempotency_token": {}, "is_pinned": {}, "library": { @@ -210,6 +235,11 @@ var TerraformOnlyFields = map[string]FieldSet{ }, "experiments": { "description": {}, + "trace_location": { + "uc_trace_location": { + "effective_table_prefix": {}, // databricks_mlflow_experiment.*.trace_location.uc_trace_location.effective_table_prefix + }, + }, }, "jobs": { "always_running": {}, @@ -236,6 +266,7 @@ var TerraformOnlyFields = map[string]FieldSet{ }, "remote_mount_dir_path": {}, // databricks_job.*.job_cluster.new_cluster.cluster_mount_info.remote_mount_dir_path }, + "dependency_mode": {}, // databricks_job.*.job_cluster.new_cluster.dependency_mode "idempotency_token": {}, // databricks_job.*.job_cluster.new_cluster.idempotency_token "library": { "cran": { @@ -257,6 +288,7 @@ var TerraformOnlyFields = map[string]FieldSet{ "whl": {}, // databricks_job.*.job_cluster.new_cluster.library.whl }, }, + "serverless_compute_id": {}, // databricks_job.*.job_cluster.serverless_compute_id }, "library": { "cran": { @@ -338,6 +370,7 @@ 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 @@ -481,8 +514,14 @@ var TerraformOnlyFields = map[string]FieldSet{ "parameters": {}, // databricks_job.*.spark_submit_task.parameters }, "task": { + "ai_runtime_task": { + "code_source_path": {}, // databricks_job.*.task.ai_runtime_task.code_source_path + }, "for_each_task": { "task": { + "ai_runtime_task": { + "code_source_path": {}, // databricks_job.*.task.for_each_task.task.ai_runtime_task.code_source_path + }, "new_cluster": { "cluster_id": {}, // databricks_job.*.task.for_each_task.task.new_cluster.cluster_id "cluster_mount_info": { @@ -493,6 +532,7 @@ var TerraformOnlyFields = map[string]FieldSet{ }, "remote_mount_dir_path": {}, // databricks_job.*.task.for_each_task.task.new_cluster.cluster_mount_info.remote_mount_dir_path }, + "dependency_mode": {}, // databricks_job.*.task.for_each_task.task.new_cluster.dependency_mode "idempotency_token": {}, // databricks_job.*.task.for_each_task.task.new_cluster.idempotency_token "library": { "cran": { @@ -527,6 +567,7 @@ var TerraformOnlyFields = map[string]FieldSet{ }, "remote_mount_dir_path": {}, // databricks_job.*.task.new_cluster.cluster_mount_info.remote_mount_dir_path }, + "dependency_mode": {}, // databricks_job.*.task.new_cluster.dependency_mode "idempotency_token": {}, // databricks_job.*.task.new_cluster.idempotency_token "library": { "cran": { @@ -554,16 +595,95 @@ var TerraformOnlyFields = map[string]FieldSet{ "model_serving_endpoints": { "endpoint_url": {}, "serving_endpoint_id": {}, + "telemetry_config": { + "table_names": { + "annotations_table": {}, // databricks_model_serving.*.telemetry_config.table_names.annotations_table + "logs_table": {}, // databricks_model_serving.*.telemetry_config.table_names.logs_table + "metrics_table": {}, // databricks_model_serving.*.telemetry_config.table_names.metrics_table + "traces_table": {}, // databricks_model_serving.*.telemetry_config.table_names.traces_table + }, + "telemetry_profile_id": {}, // databricks_model_serving.*.telemetry_config.telemetry_profile_id + }, }, "pipelines": { "expected_last_modified": {}, - "url": {}, + "ingestion_definition": { + "objects": { + "schema": { + "connector_options": { + "reddit_ads_options": { + "custom_report_options": { + "breakdowns": {}, // databricks_pipeline.*.ingestion_definition.objects.schema.connector_options.reddit_ads_options.custom_report_options.breakdowns + "fields": {}, // databricks_pipeline.*.ingestion_definition.objects.schema.connector_options.reddit_ads_options.custom_report_options.fields + }, + "lookback_window_days": {}, // databricks_pipeline.*.ingestion_definition.objects.schema.connector_options.reddit_ads_options.lookback_window_days + "sync_start_date": {}, // databricks_pipeline.*.ingestion_definition.objects.schema.connector_options.reddit_ads_options.sync_start_date + }, + }, + "fanout_options": { + "fanout_by": {}, // databricks_pipeline.*.ingestion_definition.objects.schema.fanout_options.fanout_by + "transforms": { + "format": {}, // databricks_pipeline.*.ingestion_definition.objects.schema.fanout_options.transforms.format + "json_options": { + "as_variant": {}, // databricks_pipeline.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.as_variant + "schema": {}, // databricks_pipeline.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.schema + "schema_evolution_mode": {}, // databricks_pipeline.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.schema_evolution_mode + "schema_file_path": {}, // databricks_pipeline.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.schema_file_path + "schema_hints": {}, // databricks_pipeline.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.schema_hints + }, + }, + }, + }, + "table": { + "connector_options": { + "reddit_ads_options": { + "custom_report_options": { + "breakdowns": {}, // databricks_pipeline.*.ingestion_definition.objects.table.connector_options.reddit_ads_options.custom_report_options.breakdowns + "fields": {}, // databricks_pipeline.*.ingestion_definition.objects.table.connector_options.reddit_ads_options.custom_report_options.fields + }, + "lookback_window_days": {}, // databricks_pipeline.*.ingestion_definition.objects.table.connector_options.reddit_ads_options.lookback_window_days + "sync_start_date": {}, // databricks_pipeline.*.ingestion_definition.objects.table.connector_options.reddit_ads_options.sync_start_date + }, + }, + }, + }, + }, + "url": {}, }, "postgres_projects": { "initial_branch_spec": { "is_protected": {}, // databricks_postgres_project.*.initial_branch_spec.is_protected }, }, + "postgres_synced_tables": { + "spec": { + "accelerated_sync": {}, // databricks_postgres_synced_table.*.spec.accelerated_sync + "branch": {}, // databricks_postgres_synced_table.*.spec.branch + "create_database_objects_if_missing": {}, // databricks_postgres_synced_table.*.spec.create_database_objects_if_missing + "existing_pipeline_id": {}, // databricks_postgres_synced_table.*.spec.existing_pipeline_id + "extra_columns": { + "column_name": {}, // databricks_postgres_synced_table.*.spec.extra_columns.column_name + "column_type": {}, // databricks_postgres_synced_table.*.spec.extra_columns.column_type + "compute": {}, // databricks_postgres_synced_table.*.spec.extra_columns.compute + "maintenance": {}, // databricks_postgres_synced_table.*.spec.extra_columns.maintenance + }, + "new_pipeline_spec": { + "budget_policy_id": {}, // databricks_postgres_synced_table.*.spec.new_pipeline_spec.budget_policy_id + "storage_catalog": {}, // databricks_postgres_synced_table.*.spec.new_pipeline_spec.storage_catalog + "storage_schema": {}, // databricks_postgres_synced_table.*.spec.new_pipeline_spec.storage_schema + }, + "postgres_database": {}, // databricks_postgres_synced_table.*.spec.postgres_database + "primary_key_columns": {}, // databricks_postgres_synced_table.*.spec.primary_key_columns + "scheduling_policy": {}, // databricks_postgres_synced_table.*.spec.scheduling_policy + "source_table_full_name": {}, // databricks_postgres_synced_table.*.spec.source_table_full_name + "timeseries_key": {}, // databricks_postgres_synced_table.*.spec.timeseries_key + "type_overrides": { + "column_name": {}, // databricks_postgres_synced_table.*.spec.type_overrides.column_name + "pg_type": {}, // databricks_postgres_synced_table.*.spec.type_overrides.pg_type + "size": {}, // databricks_postgres_synced_table.*.spec.type_overrides.size + }, + }, + }, "schemas": { "force_destroy": {}, }, @@ -613,13 +733,12 @@ var DABsToTerraformRenameMap = map[string]RenameTree{ // For groups using Unwrap in TerraformToDABsFieldMap, every DABs path must be prefixed // with this segment to obtain the corresponding TF path. var DABsToTerraformWrappers = map[string]string{ - "postgres_branches": "spec", - "postgres_catalogs": "spec", - "postgres_databases": "spec", - "postgres_endpoints": "spec", - "postgres_projects": "spec", - "postgres_roles": "spec", - "postgres_synced_tables": "spec", + "postgres_branches": "spec", + "postgres_catalogs": "spec", + "postgres_databases": "spec", + "postgres_endpoints": "spec", + "postgres_projects": "spec", + "postgres_roles": "spec", } // DABsToTerraformWrapperFields maps DABs group name → first-level DABs field names that @@ -671,17 +790,4 @@ var DABsToTerraformWrapperFields = map[string]FieldSet{ "membership_roles": {}, "postgres_role": {}, }, - "postgres_synced_tables": { - "accelerated_sync": {}, - "branch": {}, - "create_database_objects_if_missing": {}, - "existing_pipeline_id": {}, - "new_pipeline_spec": {}, - "postgres_database": {}, - "primary_key_columns": {}, - "scheduling_policy": {}, - "source_table_full_name": {}, - "timeseries_key": {}, - "type_overrides": {}, - }, } From 154b40b307ccc645eb4c300f5a5ff85ee74a5f0a Mon Sep 17 00:00:00 2001 From: Andrew Nester Date: Wed, 29 Jul 2026 15:39:56 +0200 Subject: [PATCH 3/5] update out files --- .../migrate/default-python/out.state_original.json | 7 +++++-- .../resources/jobs/update/out.state.terraform.json | 4 +++- .../simple/out.requests.deploy.terraform.json | 14 +------------- .../simple/out.requests.plan.terraform.json | 12 ------------ 4 files changed, 9 insertions(+), 28 deletions(-) diff --git a/acceptance/bundle/migrate/default-python/out.state_original.json b/acceptance/bundle/migrate/default-python/out.state_original.json index 6360f5dbc21..b053559f338 100644 --- a/acceptance/bundle/migrate/default-python/out.state_original.json +++ b/acceptance/bundle/migrate/default-python/out.state_original.json @@ -66,6 +66,7 @@ "cluster_name": "", "custom_tags": null, "data_security_mode": "DATA_SECURITY_MODE_AUTO", + "dependency_mode": "", "docker_image": [], "driver_instance_pool_id": "", "driver_node_type_flexibility": [], @@ -95,7 +96,8 @@ "worker_node_type_flexibility": [], "workload_type": [] } - ] + ], + "serverless_compute_id": "" } ], "library": [], @@ -443,7 +445,8 @@ "health": null, "id": "[UUID]", "ingestion_definition": [], - "last_modified": [UNIX_TIME_MILLIS], + "last_modified": [UNIX_TIME_MILLIS + ], "latest_updates": null, "library": [ { diff --git a/acceptance/bundle/resources/jobs/update/out.state.terraform.json b/acceptance/bundle/resources/jobs/update/out.state.terraform.json index 6c561bc4bfe..e7c11656ae2 100644 --- a/acceptance/bundle/resources/jobs/update/out.state.terraform.json +++ b/acceptance/bundle/resources/jobs/update/out.state.terraform.json @@ -61,6 +61,7 @@ "cluster_name": "", "custom_tags": null, "data_security_mode": "", + "dependency_mode": "", "docker_image": [], "driver_instance_pool_id": "", "driver_node_type_flexibility": [], @@ -90,7 +91,8 @@ "worker_node_type_flexibility": [], "workload_type": [] } - ] + ], + "serverless_compute_id": "" } ], "library": [], 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 22d78dca557..9bfe34ca4dd 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json @@ -342,19 +342,7 @@ { "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 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 auth/pat" + "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", diff --git a/acceptance/bundle/user_agent/simple/out.requests.plan.terraform.json b/acceptance/bundle/user_agent/simple/out.requests.plan.terraform.json index 6047b9055cc..ba790f18a0a 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.plan.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.plan.terraform.json @@ -55,18 +55,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 auth/pat" - ] - }, - "method": "GET", - "path": "/api/2.0/preview/scim/v2/Me", - "q": { - "excludedAttributes": "entitlements" - } -} { "headers": { "User-Agent": [ From 65ebc92e3fd29e41ed5375f3cbbd9ac2d10d217d Mon Sep 17 00:00:00 2001 From: Andrew Nester Date: Wed, 29 Jul 2026 15:49:55 +0200 Subject: [PATCH 4/5] update test output --- acceptance/bundle/user_agent/output.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/acceptance/bundle/user_agent/output.txt b/acceptance/bundle/user_agent/output.txt index 167b459b2e9..3fe73103691 100644 --- a/acceptance/bundle/user_agent/output.txt +++ b/acceptance/bundle/user_agent/output.txt @@ -41,8 +41,7 @@ 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 auth/pat' -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 auth/pat' +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' @@ -94,7 +93,6 @@ MISS plan.terraform /api/2.0/workspace/get-status 'cli/[CLI_VERSION] databricks- MISS plan.terraform /api/2.0/workspace/get-status 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat' OK plan.terraform /api/2.0/workspace/get-status engine/terraform MISS plan.terraform /.well-known/databricks-config 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]' -MISS plan.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 auth/pat' MISS plan.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 plan.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.direct /api/2.0/preview/scim/v2/Me 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat' From afbe7e3c3555d0b670913ffbe39292d6e0743a18 Mon Sep 17 00:00:00 2001 From: Andrew Nester Date: Wed, 29 Jul 2026 16:01:28 +0200 Subject: [PATCH 5/5] fix typo --- .../bundle/migrate/default-python/out.state_original.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/acceptance/bundle/migrate/default-python/out.state_original.json b/acceptance/bundle/migrate/default-python/out.state_original.json index b053559f338..23cef2d4d93 100644 --- a/acceptance/bundle/migrate/default-python/out.state_original.json +++ b/acceptance/bundle/migrate/default-python/out.state_original.json @@ -445,8 +445,7 @@ "health": null, "id": "[UUID]", "ingestion_definition": [], - "last_modified": [UNIX_TIME_MILLIS - ], + "last_modified": [UNIX_TIME_MILLIS], "latest_updates": null, "library": [ {