From a6c8921155e6c7b082a45888f435391124c52e6d Mon Sep 17 00:00:00 2001 From: Andrew Nester Date: Fri, 9 Jan 2026 11:53:41 +0100 Subject: [PATCH 1/2] Upgrade TF provider to 1.102.0 --- .../migrate/basic/out.original_state.json | 1 + .../default-python/out.state_original.json | 1 + .../permissions/out.original_state.json | 1 + .../migrate/runas/out.create_requests.json | 4 +- .../bundle/state/state_present/output.txt | 4 +- acceptance/bundle/user_agent/output.txt | 10 ++-- .../simple/out.requests.deploy.terraform.json | 4 +- .../out.requests.destroy.terraform.json | 4 +- .../simple/out.requests.plan2.terraform.json | 2 +- bundle/internal/tf/codegen/schema/version.go | 2 +- bundle/internal/tf/schema/config.go | 1 + bundle/internal/tf/schema/data_source_app.go | 60 +++++++++++++++++++ bundle/internal/tf/schema/data_source_apps.go | 60 +++++++++++++++++++ ...ta_source_apps_settings_custom_template.go | 5 ++ ...a_source_apps_settings_custom_templates.go | 5 ++ .../data_source_data_quality_monitor.go | 1 + .../data_source_data_quality_monitors.go | 1 + ..._source_mws_network_connectivity_config.go | 2 + .../tf/schema/data_source_online_store.go | 1 + .../tf/schema/data_source_online_stores.go | 1 + .../tf/schema/data_source_postgres_branch.go | 33 ++++++++++ .../schema/data_source_postgres_branches.go | 39 ++++++++++++ .../schema/data_source_postgres_endpoint.go | 49 +++++++++++++++ .../schema/data_source_postgres_endpoints.go | 55 +++++++++++++++++ .../tf/schema/data_source_postgres_project.go | 55 +++++++++++++++++ .../schema/data_source_postgres_projects.go | 60 +++++++++++++++++++ .../schema/data_source_quality_monitor_v2.go | 5 +- .../schema/data_source_quality_monitors_v2.go | 5 +- ..._source_rfa_access_request_destinations.go | 15 ++++- bundle/internal/tf/schema/data_sources.go | 12 ++++ bundle/internal/tf/schema/resource_app.go | 60 +++++++++++++++++++ .../resource_apps_settings_custom_template.go | 5 ++ .../schema/resource_data_quality_monitor.go | 1 + bundle/internal/tf/schema/resource_job.go | 1 + .../internal/tf/schema/resource_metastore.go | 5 +- ...esource_mws_network_connectivity_config.go | 2 + .../tf/schema/resource_online_store.go | 1 + .../internal/tf/schema/resource_pipeline.go | 4 ++ .../tf/schema/resource_postgres_branch.go | 34 +++++++++++ .../tf/schema/resource_postgres_endpoint.go | 50 ++++++++++++++++ .../tf/schema/resource_postgres_project.go | 56 +++++++++++++++++ .../tf/schema/resource_quality_monitor_v2.go | 5 +- ...esource_rfa_access_request_destinations.go | 15 ++++- bundle/internal/tf/schema/resources.go | 6 ++ bundle/internal/tf/schema/root.go | 2 +- 45 files changed, 716 insertions(+), 29 deletions(-) create mode 100644 bundle/internal/tf/schema/data_source_postgres_branch.go create mode 100644 bundle/internal/tf/schema/data_source_postgres_branches.go create mode 100644 bundle/internal/tf/schema/data_source_postgres_endpoint.go create mode 100644 bundle/internal/tf/schema/data_source_postgres_endpoints.go create mode 100644 bundle/internal/tf/schema/data_source_postgres_project.go create mode 100644 bundle/internal/tf/schema/data_source_postgres_projects.go create mode 100644 bundle/internal/tf/schema/resource_postgres_branch.go create mode 100644 bundle/internal/tf/schema/resource_postgres_endpoint.go create mode 100644 bundle/internal/tf/schema/resource_postgres_project.go diff --git a/acceptance/bundle/migrate/basic/out.original_state.json b/acceptance/bundle/migrate/basic/out.original_state.json index 8f7c6be80b..c627b55df8 100644 --- a/acceptance/bundle/migrate/basic/out.original_state.json +++ b/acceptance/bundle/migrate/basic/out.original_state.json @@ -65,6 +65,7 @@ "retry_on_timeout": false, "run_as": [ { + "group_name": "", "service_principal_name": "", "user_name": "[USERNAME]" } diff --git a/acceptance/bundle/migrate/default-python/out.state_original.json b/acceptance/bundle/migrate/default-python/out.state_original.json index 62b82caa9f..39f79aef33 100644 --- a/acceptance/bundle/migrate/default-python/out.state_original.json +++ b/acceptance/bundle/migrate/default-python/out.state_original.json @@ -124,6 +124,7 @@ "retry_on_timeout": false, "run_as": [ { + "group_name": "", "service_principal_name": "", "user_name": "[USERNAME]" } diff --git a/acceptance/bundle/migrate/permissions/out.original_state.json b/acceptance/bundle/migrate/permissions/out.original_state.json index 0781381398..9875319496 100644 --- a/acceptance/bundle/migrate/permissions/out.original_state.json +++ b/acceptance/bundle/migrate/permissions/out.original_state.json @@ -65,6 +65,7 @@ "retry_on_timeout": false, "run_as": [ { + "group_name": "", "service_principal_name": "", "user_name": "[USERNAME]" } diff --git a/acceptance/bundle/migrate/runas/out.create_requests.json b/acceptance/bundle/migrate/runas/out.create_requests.json index a1b6e31da5..03ec277f90 100644 --- a/acceptance/bundle/migrate/runas/out.create_requests.json +++ b/acceptance/bundle/migrate/runas/out.create_requests.json @@ -1,7 +1,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/pipeline auth/pat" + "databricks-tf-provider/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/pipeline auth/pat" ] }, "method": "POST", @@ -32,7 +32,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/permissions auth/pat" + "databricks-tf-provider/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/permissions auth/pat" ] }, "method": "PUT", diff --git a/acceptance/bundle/state/state_present/output.txt b/acceptance/bundle/state/state_present/output.txt index 16d7bb3c8a..5b26841d8c 100644 --- a/acceptance/bundle/state/state_present/output.txt +++ b/acceptance/bundle/state/state_present/output.txt @@ -15,7 +15,7 @@ Updating deployment state... Deployment complete! >>> print_requests.py //api/2.1/unity-catalog/schemas -"databricks-tf-provider/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" +"databricks-tf-provider/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" >>> DATABRICKS_BUNDLE_ENGINE= [CLI] bundle deploy Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files... @@ -24,7 +24,7 @@ Updating deployment state... Deployment complete! >>> print_requests.py --get //api/2.1/unity-catalog/schemas -"databricks-tf-provider/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" +"databricks-tf-provider/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" === Adding resources.json with lower serial does not change anything >>> DATABRICKS_BUNDLE_ENGINE=direct musterr [CLI] bundle plan diff --git a/acceptance/bundle/user_agent/output.txt b/acceptance/bundle/user_agent/output.txt index 8133a5577c..d1bc557922 100644 --- a/acceptance/bundle/user_agent/output.txt +++ b/acceptance/bundle/user_agent/output.txt @@ -35,8 +35,8 @@ OK deploy.terraform /api/2.0/workspace-files/import-file/Workspace/Users/[USER OK deploy.terraform /api/2.0/workspace/delete engine/terraform OK deploy.terraform /api/2.0/workspace/delete engine/terraform OK deploy.terraform /api/2.0/workspace/mkdirs engine/terraform -MISS deploy.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' -MISS deploy.terraform /api/2.1/unity-catalog/schemas 'databricks-tf-provider/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_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/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' +MISS deploy.terraform /api/2.1/unity-catalog/schemas 'databricks-tf-provider/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS destroy.direct /api/2.0/preview/scim/v2/Me 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] auth/pat' MISS destroy.direct /api/2.0/workspace-files/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/resources.json 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] auth/pat' MISS destroy.direct /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] auth/pat' @@ -59,8 +59,8 @@ OK destroy.terraform /api/2.0/workspace/get-status engine/terraform OK destroy.terraform /api/2.0/workspace/get-status engine/terraform OK destroy.terraform /api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock engine/terraform OK destroy.terraform /api/2.0/workspace/delete engine/terraform -MISS destroy.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_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/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_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/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_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/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS plan.direct /api/2.0/preview/scim/v2/Me 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] auth/pat' MISS plan.direct /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] auth/pat' MISS plan.direct /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] auth/pat' @@ -82,7 +82,7 @@ MISS plan2.terraform /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks MISS plan2.terraform /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] auth/pat' 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 /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_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/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS run.direct /api/2.0/preview/scim/v2/Me 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] auth/pat' MISS run.direct /api/2.0/workspace-files/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/resources.json 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] auth/pat' MISS run.direct /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] auth/pat' 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 b45d5e04f6..cbcb21d327 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json @@ -298,7 +298,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + "databricks-tf-provider/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" ] }, "method": "GET", @@ -307,7 +307,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + "databricks-tf-provider/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" ] }, "method": "POST", 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 532c035d31..cfd7223292 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.destroy.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.destroy.terraform.json @@ -127,7 +127,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + "databricks-tf-provider/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" ] }, "method": "DELETE", @@ -139,7 +139,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + "databricks-tf-provider/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" ] }, "method": "GET", 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 c75981fdf5..0b0a0fd9b1 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.plan2.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.plan2.terraform.json @@ -67,7 +67,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.100.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + "databricks-tf-provider/1.102.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" ] }, "method": "GET", diff --git a/bundle/internal/tf/codegen/schema/version.go b/bundle/internal/tf/codegen/schema/version.go index b83ede5c94..91ad657ad8 100644 --- a/bundle/internal/tf/codegen/schema/version.go +++ b/bundle/internal/tf/codegen/schema/version.go @@ -1,3 +1,3 @@ package schema -const ProviderVersion = "1.100.0" +const ProviderVersion = "1.102.0" diff --git a/bundle/internal/tf/schema/config.go b/bundle/internal/tf/schema/config.go index 9efd81ceda..f60b9f2bd2 100644 --- a/bundle/internal/tf/schema/config.go +++ b/bundle/internal/tf/schema/config.go @@ -23,6 +23,7 @@ type Config struct { DatabricksIdTokenFilepath string `json:"databricks_id_token_filepath,omitempty"` DebugHeaders bool `json:"debug_headers,omitempty"` DebugTruncateBytes int `json:"debug_truncate_bytes,omitempty"` + DisableOauthRefreshToken bool `json:"disable_oauth_refresh_token,omitempty"` ExperimentalIsUnifiedHost bool `json:"experimental_is_unified_host,omitempty"` GoogleCredentials string `json:"google_credentials,omitempty"` GoogleServiceAccount string `json:"google_service_account,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_app.go b/bundle/internal/tf/schema/data_source_app.go index 5d56d5d2eb..faf0aeb11e 100644 --- a/bundle/internal/tf/schema/data_source_app.go +++ b/bundle/internal/tf/schema/data_source_app.go @@ -6,16 +6,39 @@ type DataSourceAppAppActiveDeploymentDeploymentArtifacts struct { SourceCodePath string `json:"source_code_path,omitempty"` } +type DataSourceAppAppActiveDeploymentEnvVars struct { + Name string `json:"name,omitempty"` + Value string `json:"value,omitempty"` + ValueFrom string `json:"value_from,omitempty"` +} + +type DataSourceAppAppActiveDeploymentGitSourceGitRepository struct { + Provider string `json:"provider"` + Url string `json:"url"` +} + +type DataSourceAppAppActiveDeploymentGitSource struct { + Branch string `json:"branch,omitempty"` + Commit string `json:"commit,omitempty"` + GitRepository *DataSourceAppAppActiveDeploymentGitSourceGitRepository `json:"git_repository,omitempty"` + ResolvedCommit string `json:"resolved_commit,omitempty"` + SourceCodePath string `json:"source_code_path,omitempty"` + Tag string `json:"tag,omitempty"` +} + type DataSourceAppAppActiveDeploymentStatus struct { Message string `json:"message,omitempty"` State string `json:"state,omitempty"` } type DataSourceAppAppActiveDeployment struct { + Command []string `json:"command,omitempty"` CreateTime string `json:"create_time,omitempty"` Creator string `json:"creator,omitempty"` DeploymentArtifacts *DataSourceAppAppActiveDeploymentDeploymentArtifacts `json:"deployment_artifacts,omitempty"` DeploymentId string `json:"deployment_id,omitempty"` + EnvVars []DataSourceAppAppActiveDeploymentEnvVars `json:"env_vars,omitempty"` + GitSource *DataSourceAppAppActiveDeploymentGitSource `json:"git_source,omitempty"` Mode string `json:"mode,omitempty"` SourceCodePath string `json:"source_code_path,omitempty"` Status *DataSourceAppAppActiveDeploymentStatus `json:"status,omitempty"` @@ -32,20 +55,48 @@ type DataSourceAppAppComputeStatus struct { State string `json:"state,omitempty"` } +type DataSourceAppAppGitRepository struct { + Provider string `json:"provider"` + Url string `json:"url"` +} + type DataSourceAppAppPendingDeploymentDeploymentArtifacts struct { SourceCodePath string `json:"source_code_path,omitempty"` } +type DataSourceAppAppPendingDeploymentEnvVars struct { + Name string `json:"name,omitempty"` + Value string `json:"value,omitempty"` + ValueFrom string `json:"value_from,omitempty"` +} + +type DataSourceAppAppPendingDeploymentGitSourceGitRepository struct { + Provider string `json:"provider"` + Url string `json:"url"` +} + +type DataSourceAppAppPendingDeploymentGitSource struct { + Branch string `json:"branch,omitempty"` + Commit string `json:"commit,omitempty"` + GitRepository *DataSourceAppAppPendingDeploymentGitSourceGitRepository `json:"git_repository,omitempty"` + ResolvedCommit string `json:"resolved_commit,omitempty"` + SourceCodePath string `json:"source_code_path,omitempty"` + Tag string `json:"tag,omitempty"` +} + type DataSourceAppAppPendingDeploymentStatus struct { Message string `json:"message,omitempty"` State string `json:"state,omitempty"` } type DataSourceAppAppPendingDeployment struct { + Command []string `json:"command,omitempty"` CreateTime string `json:"create_time,omitempty"` Creator string `json:"creator,omitempty"` DeploymentArtifacts *DataSourceAppAppPendingDeploymentDeploymentArtifacts `json:"deployment_artifacts,omitempty"` DeploymentId string `json:"deployment_id,omitempty"` + EnvVars []DataSourceAppAppPendingDeploymentEnvVars `json:"env_vars,omitempty"` + GitSource *DataSourceAppAppPendingDeploymentGitSource `json:"git_source,omitempty"` Mode string `json:"mode,omitempty"` SourceCodePath string `json:"source_code_path,omitempty"` Status *DataSourceAppAppPendingDeploymentStatus `json:"status,omitempty"` @@ -58,6 +109,11 @@ type DataSourceAppAppResourcesDatabase struct { Permission string `json:"permission"` } +type DataSourceAppAppResourcesExperiment struct { + ExperimentId string `json:"experiment_id"` + Permission string `json:"permission"` +} + type DataSourceAppAppResourcesGenieSpace struct { Name string `json:"name"` Permission string `json:"permission"` @@ -94,6 +150,7 @@ type DataSourceAppAppResourcesUcSecurable struct { type DataSourceAppAppResources struct { Database *DataSourceAppAppResourcesDatabase `json:"database,omitempty"` Description string `json:"description,omitempty"` + Experiment *DataSourceAppAppResourcesExperiment `json:"experiment,omitempty"` GenieSpace *DataSourceAppAppResourcesGenieSpace `json:"genie_space,omitempty"` Job *DataSourceAppAppResourcesJob `json:"job,omitempty"` Name string `json:"name"` @@ -114,7 +171,9 @@ type DataSourceAppApp struct { DefaultSourceCodePath string `json:"default_source_code_path,omitempty"` Description string `json:"description,omitempty"` EffectiveBudgetPolicyId string `json:"effective_budget_policy_id,omitempty"` + EffectiveUsagePolicyId string `json:"effective_usage_policy_id,omitempty"` EffectiveUserApiScopes []string `json:"effective_user_api_scopes,omitempty"` + GitRepository *DataSourceAppAppGitRepository `json:"git_repository,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name"` Oauth2AppClientId string `json:"oauth2_app_client_id,omitempty"` @@ -127,6 +186,7 @@ type DataSourceAppApp struct { UpdateTime string `json:"update_time,omitempty"` Updater string `json:"updater,omitempty"` Url string `json:"url,omitempty"` + UsagePolicyId string `json:"usage_policy_id,omitempty"` UserApiScopes []string `json:"user_api_scopes,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_apps.go b/bundle/internal/tf/schema/data_source_apps.go index 893d86e75f..632549431a 100644 --- a/bundle/internal/tf/schema/data_source_apps.go +++ b/bundle/internal/tf/schema/data_source_apps.go @@ -6,16 +6,39 @@ type DataSourceAppsAppActiveDeploymentDeploymentArtifacts struct { SourceCodePath string `json:"source_code_path,omitempty"` } +type DataSourceAppsAppActiveDeploymentEnvVars struct { + Name string `json:"name,omitempty"` + Value string `json:"value,omitempty"` + ValueFrom string `json:"value_from,omitempty"` +} + +type DataSourceAppsAppActiveDeploymentGitSourceGitRepository struct { + Provider string `json:"provider"` + Url string `json:"url"` +} + +type DataSourceAppsAppActiveDeploymentGitSource struct { + Branch string `json:"branch,omitempty"` + Commit string `json:"commit,omitempty"` + GitRepository *DataSourceAppsAppActiveDeploymentGitSourceGitRepository `json:"git_repository,omitempty"` + ResolvedCommit string `json:"resolved_commit,omitempty"` + SourceCodePath string `json:"source_code_path,omitempty"` + Tag string `json:"tag,omitempty"` +} + type DataSourceAppsAppActiveDeploymentStatus struct { Message string `json:"message,omitempty"` State string `json:"state,omitempty"` } type DataSourceAppsAppActiveDeployment struct { + Command []string `json:"command,omitempty"` CreateTime string `json:"create_time,omitempty"` Creator string `json:"creator,omitempty"` DeploymentArtifacts *DataSourceAppsAppActiveDeploymentDeploymentArtifacts `json:"deployment_artifacts,omitempty"` DeploymentId string `json:"deployment_id,omitempty"` + EnvVars []DataSourceAppsAppActiveDeploymentEnvVars `json:"env_vars,omitempty"` + GitSource *DataSourceAppsAppActiveDeploymentGitSource `json:"git_source,omitempty"` Mode string `json:"mode,omitempty"` SourceCodePath string `json:"source_code_path,omitempty"` Status *DataSourceAppsAppActiveDeploymentStatus `json:"status,omitempty"` @@ -32,20 +55,48 @@ type DataSourceAppsAppComputeStatus struct { State string `json:"state,omitempty"` } +type DataSourceAppsAppGitRepository struct { + Provider string `json:"provider"` + Url string `json:"url"` +} + type DataSourceAppsAppPendingDeploymentDeploymentArtifacts struct { SourceCodePath string `json:"source_code_path,omitempty"` } +type DataSourceAppsAppPendingDeploymentEnvVars struct { + Name string `json:"name,omitempty"` + Value string `json:"value,omitempty"` + ValueFrom string `json:"value_from,omitempty"` +} + +type DataSourceAppsAppPendingDeploymentGitSourceGitRepository struct { + Provider string `json:"provider"` + Url string `json:"url"` +} + +type DataSourceAppsAppPendingDeploymentGitSource struct { + Branch string `json:"branch,omitempty"` + Commit string `json:"commit,omitempty"` + GitRepository *DataSourceAppsAppPendingDeploymentGitSourceGitRepository `json:"git_repository,omitempty"` + ResolvedCommit string `json:"resolved_commit,omitempty"` + SourceCodePath string `json:"source_code_path,omitempty"` + Tag string `json:"tag,omitempty"` +} + type DataSourceAppsAppPendingDeploymentStatus struct { Message string `json:"message,omitempty"` State string `json:"state,omitempty"` } type DataSourceAppsAppPendingDeployment struct { + Command []string `json:"command,omitempty"` CreateTime string `json:"create_time,omitempty"` Creator string `json:"creator,omitempty"` DeploymentArtifacts *DataSourceAppsAppPendingDeploymentDeploymentArtifacts `json:"deployment_artifacts,omitempty"` DeploymentId string `json:"deployment_id,omitempty"` + EnvVars []DataSourceAppsAppPendingDeploymentEnvVars `json:"env_vars,omitempty"` + GitSource *DataSourceAppsAppPendingDeploymentGitSource `json:"git_source,omitempty"` Mode string `json:"mode,omitempty"` SourceCodePath string `json:"source_code_path,omitempty"` Status *DataSourceAppsAppPendingDeploymentStatus `json:"status,omitempty"` @@ -58,6 +109,11 @@ type DataSourceAppsAppResourcesDatabase struct { Permission string `json:"permission"` } +type DataSourceAppsAppResourcesExperiment struct { + ExperimentId string `json:"experiment_id"` + Permission string `json:"permission"` +} + type DataSourceAppsAppResourcesGenieSpace struct { Name string `json:"name"` Permission string `json:"permission"` @@ -94,6 +150,7 @@ type DataSourceAppsAppResourcesUcSecurable struct { type DataSourceAppsAppResources struct { Database *DataSourceAppsAppResourcesDatabase `json:"database,omitempty"` Description string `json:"description,omitempty"` + Experiment *DataSourceAppsAppResourcesExperiment `json:"experiment,omitempty"` GenieSpace *DataSourceAppsAppResourcesGenieSpace `json:"genie_space,omitempty"` Job *DataSourceAppsAppResourcesJob `json:"job,omitempty"` Name string `json:"name"` @@ -114,7 +171,9 @@ type DataSourceAppsApp struct { DefaultSourceCodePath string `json:"default_source_code_path,omitempty"` Description string `json:"description,omitempty"` EffectiveBudgetPolicyId string `json:"effective_budget_policy_id,omitempty"` + EffectiveUsagePolicyId string `json:"effective_usage_policy_id,omitempty"` EffectiveUserApiScopes []string `json:"effective_user_api_scopes,omitempty"` + GitRepository *DataSourceAppsAppGitRepository `json:"git_repository,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name"` Oauth2AppClientId string `json:"oauth2_app_client_id,omitempty"` @@ -127,6 +186,7 @@ type DataSourceAppsApp struct { UpdateTime string `json:"update_time,omitempty"` Updater string `json:"updater,omitempty"` Url string `json:"url,omitempty"` + UsagePolicyId string `json:"usage_policy_id,omitempty"` UserApiScopes []string `json:"user_api_scopes,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_apps_settings_custom_template.go b/bundle/internal/tf/schema/data_source_apps_settings_custom_template.go index cf24690a44..f8f3586f2a 100644 --- a/bundle/internal/tf/schema/data_source_apps_settings_custom_template.go +++ b/bundle/internal/tf/schema/data_source_apps_settings_custom_template.go @@ -2,6 +2,10 @@ package schema +type DataSourceAppsSettingsCustomTemplateManifestResourceSpecsExperimentSpec struct { + Permission string `json:"permission"` +} + type DataSourceAppsSettingsCustomTemplateManifestResourceSpecsJobSpec struct { Permission string `json:"permission"` } @@ -25,6 +29,7 @@ type DataSourceAppsSettingsCustomTemplateManifestResourceSpecsUcSecurableSpec st type DataSourceAppsSettingsCustomTemplateManifestResourceSpecs struct { Description string `json:"description,omitempty"` + ExperimentSpec *DataSourceAppsSettingsCustomTemplateManifestResourceSpecsExperimentSpec `json:"experiment_spec,omitempty"` JobSpec *DataSourceAppsSettingsCustomTemplateManifestResourceSpecsJobSpec `json:"job_spec,omitempty"` Name string `json:"name"` SecretSpec *DataSourceAppsSettingsCustomTemplateManifestResourceSpecsSecretSpec `json:"secret_spec,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_apps_settings_custom_templates.go b/bundle/internal/tf/schema/data_source_apps_settings_custom_templates.go index c6e77ed00f..3d42df0734 100644 --- a/bundle/internal/tf/schema/data_source_apps_settings_custom_templates.go +++ b/bundle/internal/tf/schema/data_source_apps_settings_custom_templates.go @@ -2,6 +2,10 @@ package schema +type DataSourceAppsSettingsCustomTemplatesTemplatesManifestResourceSpecsExperimentSpec struct { + Permission string `json:"permission"` +} + type DataSourceAppsSettingsCustomTemplatesTemplatesManifestResourceSpecsJobSpec struct { Permission string `json:"permission"` } @@ -25,6 +29,7 @@ type DataSourceAppsSettingsCustomTemplatesTemplatesManifestResourceSpecsUcSecura type DataSourceAppsSettingsCustomTemplatesTemplatesManifestResourceSpecs struct { Description string `json:"description,omitempty"` + ExperimentSpec *DataSourceAppsSettingsCustomTemplatesTemplatesManifestResourceSpecsExperimentSpec `json:"experiment_spec,omitempty"` JobSpec *DataSourceAppsSettingsCustomTemplatesTemplatesManifestResourceSpecsJobSpec `json:"job_spec,omitempty"` Name string `json:"name"` SecretSpec *DataSourceAppsSettingsCustomTemplatesTemplatesManifestResourceSpecsSecretSpec `json:"secret_spec,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_data_quality_monitor.go b/bundle/internal/tf/schema/data_source_data_quality_monitor.go index b90213aa21..8621a2ed09 100644 --- a/bundle/internal/tf/schema/data_source_data_quality_monitor.go +++ b/bundle/internal/tf/schema/data_source_data_quality_monitor.go @@ -3,6 +3,7 @@ package schema type DataSourceDataQualityMonitorAnomalyDetectionConfig struct { + ExcludedTableFullNames []string `json:"excluded_table_full_names,omitempty"` } type DataSourceDataQualityMonitorDataProfilingConfigCustomMetrics struct { diff --git a/bundle/internal/tf/schema/data_source_data_quality_monitors.go b/bundle/internal/tf/schema/data_source_data_quality_monitors.go index a7f67f30f5..29628c40d5 100644 --- a/bundle/internal/tf/schema/data_source_data_quality_monitors.go +++ b/bundle/internal/tf/schema/data_source_data_quality_monitors.go @@ -3,6 +3,7 @@ package schema type DataSourceDataQualityMonitorsMonitorsAnomalyDetectionConfig struct { + ExcludedTableFullNames []string `json:"excluded_table_full_names,omitempty"` } type DataSourceDataQualityMonitorsMonitorsDataProfilingConfigCustomMetrics struct { diff --git a/bundle/internal/tf/schema/data_source_mws_network_connectivity_config.go b/bundle/internal/tf/schema/data_source_mws_network_connectivity_config.go index ec960ec211..89d8f08c2b 100644 --- a/bundle/internal/tf/schema/data_source_mws_network_connectivity_config.go +++ b/bundle/internal/tf/schema/data_source_mws_network_connectivity_config.go @@ -26,6 +26,7 @@ type DataSourceMwsNetworkConnectivityConfigEgressConfigTargetRulesAwsPrivateEndp DomainNames []string `json:"domain_names,omitempty"` Enabled bool `json:"enabled,omitempty"` EndpointService string `json:"endpoint_service,omitempty"` + ErrorMessage string `json:"error_message,omitempty"` NetworkConnectivityConfigId string `json:"network_connectivity_config_id,omitempty"` ResourceNames []string `json:"resource_names,omitempty"` RuleId string `json:"rule_id,omitempty"` @@ -40,6 +41,7 @@ type DataSourceMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEn DeactivatedAt int `json:"deactivated_at,omitempty"` DomainNames []string `json:"domain_names,omitempty"` EndpointName string `json:"endpoint_name,omitempty"` + ErrorMessage string `json:"error_message,omitempty"` GroupId string `json:"group_id,omitempty"` NetworkConnectivityConfigId string `json:"network_connectivity_config_id,omitempty"` ResourceId string `json:"resource_id,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_online_store.go b/bundle/internal/tf/schema/data_source_online_store.go index 9c7a59ebb4..369bf8c356 100644 --- a/bundle/internal/tf/schema/data_source_online_store.go +++ b/bundle/internal/tf/schema/data_source_online_store.go @@ -9,4 +9,5 @@ type DataSourceOnlineStore struct { Name string `json:"name"` ReadReplicaCount int `json:"read_replica_count,omitempty"` State string `json:"state,omitempty"` + UsagePolicyId string `json:"usage_policy_id,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_online_stores.go b/bundle/internal/tf/schema/data_source_online_stores.go index c985d1c003..bb71c1527b 100644 --- a/bundle/internal/tf/schema/data_source_online_stores.go +++ b/bundle/internal/tf/schema/data_source_online_stores.go @@ -9,6 +9,7 @@ type DataSourceOnlineStoresOnlineStores struct { Name string `json:"name"` ReadReplicaCount int `json:"read_replica_count,omitempty"` State string `json:"state,omitempty"` + UsagePolicyId string `json:"usage_policy_id,omitempty"` } type DataSourceOnlineStores struct { diff --git a/bundle/internal/tf/schema/data_source_postgres_branch.go b/bundle/internal/tf/schema/data_source_postgres_branch.go new file mode 100644 index 0000000000..10362b5d77 --- /dev/null +++ b/bundle/internal/tf/schema/data_source_postgres_branch.go @@ -0,0 +1,33 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourcePostgresBranchSpec struct { + Default bool `json:"default,omitempty"` + IsProtected bool `json:"is_protected,omitempty"` + SourceBranch string `json:"source_branch,omitempty"` + SourceBranchLsn string `json:"source_branch_lsn,omitempty"` + SourceBranchTime string `json:"source_branch_time,omitempty"` +} + +type DataSourcePostgresBranchStatus struct { + CurrentState string `json:"current_state,omitempty"` + Default bool `json:"default,omitempty"` + IsProtected bool `json:"is_protected,omitempty"` + LogicalSizeBytes int `json:"logical_size_bytes,omitempty"` + PendingState string `json:"pending_state,omitempty"` + SourceBranch string `json:"source_branch,omitempty"` + SourceBranchLsn string `json:"source_branch_lsn,omitempty"` + SourceBranchTime string `json:"source_branch_time,omitempty"` + StateChangeTime string `json:"state_change_time,omitempty"` +} + +type DataSourcePostgresBranch struct { + CreateTime string `json:"create_time,omitempty"` + Name string `json:"name"` + Parent string `json:"parent,omitempty"` + Spec *DataSourcePostgresBranchSpec `json:"spec,omitempty"` + Status *DataSourcePostgresBranchStatus `json:"status,omitempty"` + Uid string `json:"uid,omitempty"` + UpdateTime string `json:"update_time,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_postgres_branches.go b/bundle/internal/tf/schema/data_source_postgres_branches.go new file mode 100644 index 0000000000..5790750317 --- /dev/null +++ b/bundle/internal/tf/schema/data_source_postgres_branches.go @@ -0,0 +1,39 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourcePostgresBranchesBranchesSpec struct { + Default bool `json:"default,omitempty"` + IsProtected bool `json:"is_protected,omitempty"` + SourceBranch string `json:"source_branch,omitempty"` + SourceBranchLsn string `json:"source_branch_lsn,omitempty"` + SourceBranchTime string `json:"source_branch_time,omitempty"` +} + +type DataSourcePostgresBranchesBranchesStatus struct { + CurrentState string `json:"current_state,omitempty"` + Default bool `json:"default,omitempty"` + IsProtected bool `json:"is_protected,omitempty"` + LogicalSizeBytes int `json:"logical_size_bytes,omitempty"` + PendingState string `json:"pending_state,omitempty"` + SourceBranch string `json:"source_branch,omitempty"` + SourceBranchLsn string `json:"source_branch_lsn,omitempty"` + SourceBranchTime string `json:"source_branch_time,omitempty"` + StateChangeTime string `json:"state_change_time,omitempty"` +} + +type DataSourcePostgresBranchesBranches struct { + CreateTime string `json:"create_time,omitempty"` + Name string `json:"name"` + Parent string `json:"parent,omitempty"` + Spec *DataSourcePostgresBranchesBranchesSpec `json:"spec,omitempty"` + Status *DataSourcePostgresBranchesBranchesStatus `json:"status,omitempty"` + Uid string `json:"uid,omitempty"` + UpdateTime string `json:"update_time,omitempty"` +} + +type DataSourcePostgresBranches struct { + Branches []DataSourcePostgresBranchesBranches `json:"branches,omitempty"` + PageSize int `json:"page_size,omitempty"` + Parent string `json:"parent"` +} diff --git a/bundle/internal/tf/schema/data_source_postgres_endpoint.go b/bundle/internal/tf/schema/data_source_postgres_endpoint.go new file mode 100644 index 0000000000..80bdbe081a --- /dev/null +++ b/bundle/internal/tf/schema/data_source_postgres_endpoint.go @@ -0,0 +1,49 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourcePostgresEndpointSpecSettings struct { + PgSettings map[string]string `json:"pg_settings,omitempty"` + PgbouncerSettings map[string]string `json:"pgbouncer_settings,omitempty"` +} + +type DataSourcePostgresEndpointSpec struct { + AutoscalingLimitMaxCu int `json:"autoscaling_limit_max_cu,omitempty"` + AutoscalingLimitMinCu int `json:"autoscaling_limit_min_cu,omitempty"` + Disabled bool `json:"disabled,omitempty"` + EndpointType string `json:"endpoint_type"` + PoolerMode string `json:"pooler_mode,omitempty"` + Settings *DataSourcePostgresEndpointSpecSettings `json:"settings,omitempty"` + SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` +} + +type DataSourcePostgresEndpointStatusSettings struct { + PgSettings map[string]string `json:"pg_settings,omitempty"` + PgbouncerSettings map[string]string `json:"pgbouncer_settings,omitempty"` +} + +type DataSourcePostgresEndpointStatus struct { + AutoscalingLimitMaxCu int `json:"autoscaling_limit_max_cu,omitempty"` + AutoscalingLimitMinCu int `json:"autoscaling_limit_min_cu,omitempty"` + CurrentState string `json:"current_state,omitempty"` + Disabled bool `json:"disabled,omitempty"` + EndpointType string `json:"endpoint_type,omitempty"` + Host string `json:"host,omitempty"` + LastActiveTime string `json:"last_active_time,omitempty"` + PendingState string `json:"pending_state,omitempty"` + PoolerMode string `json:"pooler_mode,omitempty"` + Settings *DataSourcePostgresEndpointStatusSettings `json:"settings,omitempty"` + StartTime string `json:"start_time,omitempty"` + SuspendTime string `json:"suspend_time,omitempty"` + SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` +} + +type DataSourcePostgresEndpoint struct { + CreateTime string `json:"create_time,omitempty"` + Name string `json:"name"` + Parent string `json:"parent,omitempty"` + Spec *DataSourcePostgresEndpointSpec `json:"spec,omitempty"` + Status *DataSourcePostgresEndpointStatus `json:"status,omitempty"` + Uid string `json:"uid,omitempty"` + UpdateTime string `json:"update_time,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_postgres_endpoints.go b/bundle/internal/tf/schema/data_source_postgres_endpoints.go new file mode 100644 index 0000000000..f4a2103d74 --- /dev/null +++ b/bundle/internal/tf/schema/data_source_postgres_endpoints.go @@ -0,0 +1,55 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourcePostgresEndpointsEndpointsSpecSettings struct { + PgSettings map[string]string `json:"pg_settings,omitempty"` + PgbouncerSettings map[string]string `json:"pgbouncer_settings,omitempty"` +} + +type DataSourcePostgresEndpointsEndpointsSpec struct { + AutoscalingLimitMaxCu int `json:"autoscaling_limit_max_cu,omitempty"` + AutoscalingLimitMinCu int `json:"autoscaling_limit_min_cu,omitempty"` + Disabled bool `json:"disabled,omitempty"` + EndpointType string `json:"endpoint_type"` + PoolerMode string `json:"pooler_mode,omitempty"` + Settings *DataSourcePostgresEndpointsEndpointsSpecSettings `json:"settings,omitempty"` + SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` +} + +type DataSourcePostgresEndpointsEndpointsStatusSettings struct { + PgSettings map[string]string `json:"pg_settings,omitempty"` + PgbouncerSettings map[string]string `json:"pgbouncer_settings,omitempty"` +} + +type DataSourcePostgresEndpointsEndpointsStatus struct { + AutoscalingLimitMaxCu int `json:"autoscaling_limit_max_cu,omitempty"` + AutoscalingLimitMinCu int `json:"autoscaling_limit_min_cu,omitempty"` + CurrentState string `json:"current_state,omitempty"` + Disabled bool `json:"disabled,omitempty"` + EndpointType string `json:"endpoint_type,omitempty"` + Host string `json:"host,omitempty"` + LastActiveTime string `json:"last_active_time,omitempty"` + PendingState string `json:"pending_state,omitempty"` + PoolerMode string `json:"pooler_mode,omitempty"` + Settings *DataSourcePostgresEndpointsEndpointsStatusSettings `json:"settings,omitempty"` + StartTime string `json:"start_time,omitempty"` + SuspendTime string `json:"suspend_time,omitempty"` + SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` +} + +type DataSourcePostgresEndpointsEndpoints struct { + CreateTime string `json:"create_time,omitempty"` + Name string `json:"name"` + Parent string `json:"parent,omitempty"` + Spec *DataSourcePostgresEndpointsEndpointsSpec `json:"spec,omitempty"` + Status *DataSourcePostgresEndpointsEndpointsStatus `json:"status,omitempty"` + Uid string `json:"uid,omitempty"` + UpdateTime string `json:"update_time,omitempty"` +} + +type DataSourcePostgresEndpoints struct { + Endpoints []DataSourcePostgresEndpointsEndpoints `json:"endpoints,omitempty"` + PageSize int `json:"page_size,omitempty"` + Parent string `json:"parent"` +} diff --git a/bundle/internal/tf/schema/data_source_postgres_project.go b/bundle/internal/tf/schema/data_source_postgres_project.go new file mode 100644 index 0000000000..59d51dbe3f --- /dev/null +++ b/bundle/internal/tf/schema/data_source_postgres_project.go @@ -0,0 +1,55 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourcePostgresProjectSpecDefaultEndpointSettings struct { + AutoscalingLimitMaxCu int `json:"autoscaling_limit_max_cu,omitempty"` + AutoscalingLimitMinCu int `json:"autoscaling_limit_min_cu,omitempty"` + PgSettings map[string]string `json:"pg_settings,omitempty"` + PgbouncerSettings map[string]string `json:"pgbouncer_settings,omitempty"` + SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` +} + +type DataSourcePostgresProjectSpecSettings struct { + EnableLogicalReplication bool `json:"enable_logical_replication,omitempty"` +} + +type DataSourcePostgresProjectSpec struct { + DefaultEndpointSettings *DataSourcePostgresProjectSpecDefaultEndpointSettings `json:"default_endpoint_settings,omitempty"` + DisplayName string `json:"display_name,omitempty"` + HistoryRetentionDuration string `json:"history_retention_duration,omitempty"` + PgVersion int `json:"pg_version,omitempty"` + Settings *DataSourcePostgresProjectSpecSettings `json:"settings,omitempty"` +} + +type DataSourcePostgresProjectStatusDefaultEndpointSettings struct { + AutoscalingLimitMaxCu int `json:"autoscaling_limit_max_cu,omitempty"` + AutoscalingLimitMinCu int `json:"autoscaling_limit_min_cu,omitempty"` + PgSettings map[string]string `json:"pg_settings,omitempty"` + PgbouncerSettings map[string]string `json:"pgbouncer_settings,omitempty"` + SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` +} + +type DataSourcePostgresProjectStatusSettings struct { + EnableLogicalReplication bool `json:"enable_logical_replication,omitempty"` +} + +type DataSourcePostgresProjectStatus struct { + BranchLogicalSizeLimitBytes int `json:"branch_logical_size_limit_bytes,omitempty"` + ComputeLastActiveTime string `json:"compute_last_active_time,omitempty"` + DefaultEndpointSettings *DataSourcePostgresProjectStatusDefaultEndpointSettings `json:"default_endpoint_settings,omitempty"` + DisplayName string `json:"display_name,omitempty"` + HistoryRetentionDuration string `json:"history_retention_duration,omitempty"` + PgVersion int `json:"pg_version,omitempty"` + Settings *DataSourcePostgresProjectStatusSettings `json:"settings,omitempty"` + SyntheticStorageSizeBytes int `json:"synthetic_storage_size_bytes,omitempty"` +} + +type DataSourcePostgresProject struct { + CreateTime string `json:"create_time,omitempty"` + Name string `json:"name"` + Spec *DataSourcePostgresProjectSpec `json:"spec,omitempty"` + Status *DataSourcePostgresProjectStatus `json:"status,omitempty"` + Uid string `json:"uid,omitempty"` + UpdateTime string `json:"update_time,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_postgres_projects.go b/bundle/internal/tf/schema/data_source_postgres_projects.go new file mode 100644 index 0000000000..4d177a5cbe --- /dev/null +++ b/bundle/internal/tf/schema/data_source_postgres_projects.go @@ -0,0 +1,60 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourcePostgresProjectsProjectsSpecDefaultEndpointSettings struct { + AutoscalingLimitMaxCu int `json:"autoscaling_limit_max_cu,omitempty"` + AutoscalingLimitMinCu int `json:"autoscaling_limit_min_cu,omitempty"` + PgSettings map[string]string `json:"pg_settings,omitempty"` + PgbouncerSettings map[string]string `json:"pgbouncer_settings,omitempty"` + SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` +} + +type DataSourcePostgresProjectsProjectsSpecSettings struct { + EnableLogicalReplication bool `json:"enable_logical_replication,omitempty"` +} + +type DataSourcePostgresProjectsProjectsSpec struct { + DefaultEndpointSettings *DataSourcePostgresProjectsProjectsSpecDefaultEndpointSettings `json:"default_endpoint_settings,omitempty"` + DisplayName string `json:"display_name,omitempty"` + HistoryRetentionDuration string `json:"history_retention_duration,omitempty"` + PgVersion int `json:"pg_version,omitempty"` + Settings *DataSourcePostgresProjectsProjectsSpecSettings `json:"settings,omitempty"` +} + +type DataSourcePostgresProjectsProjectsStatusDefaultEndpointSettings struct { + AutoscalingLimitMaxCu int `json:"autoscaling_limit_max_cu,omitempty"` + AutoscalingLimitMinCu int `json:"autoscaling_limit_min_cu,omitempty"` + PgSettings map[string]string `json:"pg_settings,omitempty"` + PgbouncerSettings map[string]string `json:"pgbouncer_settings,omitempty"` + SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` +} + +type DataSourcePostgresProjectsProjectsStatusSettings struct { + EnableLogicalReplication bool `json:"enable_logical_replication,omitempty"` +} + +type DataSourcePostgresProjectsProjectsStatus struct { + BranchLogicalSizeLimitBytes int `json:"branch_logical_size_limit_bytes,omitempty"` + ComputeLastActiveTime string `json:"compute_last_active_time,omitempty"` + DefaultEndpointSettings *DataSourcePostgresProjectsProjectsStatusDefaultEndpointSettings `json:"default_endpoint_settings,omitempty"` + DisplayName string `json:"display_name,omitempty"` + HistoryRetentionDuration string `json:"history_retention_duration,omitempty"` + PgVersion int `json:"pg_version,omitempty"` + Settings *DataSourcePostgresProjectsProjectsStatusSettings `json:"settings,omitempty"` + SyntheticStorageSizeBytes int `json:"synthetic_storage_size_bytes,omitempty"` +} + +type DataSourcePostgresProjectsProjects struct { + CreateTime string `json:"create_time,omitempty"` + Name string `json:"name"` + Spec *DataSourcePostgresProjectsProjectsSpec `json:"spec,omitempty"` + Status *DataSourcePostgresProjectsProjectsStatus `json:"status,omitempty"` + Uid string `json:"uid,omitempty"` + UpdateTime string `json:"update_time,omitempty"` +} + +type DataSourcePostgresProjects struct { + PageSize int `json:"page_size,omitempty"` + Projects []DataSourcePostgresProjectsProjects `json:"projects,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_quality_monitor_v2.go b/bundle/internal/tf/schema/data_source_quality_monitor_v2.go index db3e4f9e4d..948845bb61 100644 --- a/bundle/internal/tf/schema/data_source_quality_monitor_v2.go +++ b/bundle/internal/tf/schema/data_source_quality_monitor_v2.go @@ -3,8 +3,9 @@ package schema type DataSourceQualityMonitorV2AnomalyDetectionConfig struct { - LastRunId string `json:"last_run_id,omitempty"` - LatestRunStatus string `json:"latest_run_status,omitempty"` + ExcludedTableFullNames []string `json:"excluded_table_full_names,omitempty"` + LastRunId string `json:"last_run_id,omitempty"` + LatestRunStatus string `json:"latest_run_status,omitempty"` } type DataSourceQualityMonitorV2 struct { diff --git a/bundle/internal/tf/schema/data_source_quality_monitors_v2.go b/bundle/internal/tf/schema/data_source_quality_monitors_v2.go index 7c64c2ae60..fe5f77934b 100644 --- a/bundle/internal/tf/schema/data_source_quality_monitors_v2.go +++ b/bundle/internal/tf/schema/data_source_quality_monitors_v2.go @@ -3,8 +3,9 @@ package schema type DataSourceQualityMonitorsV2QualityMonitorsAnomalyDetectionConfig struct { - LastRunId string `json:"last_run_id,omitempty"` - LatestRunStatus string `json:"latest_run_status,omitempty"` + ExcludedTableFullNames []string `json:"excluded_table_full_names,omitempty"` + LastRunId string `json:"last_run_id,omitempty"` + LatestRunStatus string `json:"latest_run_status,omitempty"` } type DataSourceQualityMonitorsV2QualityMonitors struct { diff --git a/bundle/internal/tf/schema/data_source_rfa_access_request_destinations.go b/bundle/internal/tf/schema/data_source_rfa_access_request_destinations.go index d0d1d0d731..2281ed443b 100644 --- a/bundle/internal/tf/schema/data_source_rfa_access_request_destinations.go +++ b/bundle/internal/tf/schema/data_source_rfa_access_request_destinations.go @@ -2,6 +2,12 @@ package schema +type DataSourceRfaAccessRequestDestinationsDestinationSourceSecurable struct { + FullName string `json:"full_name,omitempty"` + ProviderShare string `json:"provider_share,omitempty"` + Type string `json:"type,omitempty"` +} + type DataSourceRfaAccessRequestDestinationsDestinations struct { DestinationId string `json:"destination_id,omitempty"` DestinationType string `json:"destination_type,omitempty"` @@ -15,7 +21,10 @@ type DataSourceRfaAccessRequestDestinationsSecurable struct { } type DataSourceRfaAccessRequestDestinations struct { - AreAnyDestinationsHidden bool `json:"are_any_destinations_hidden,omitempty"` - Destinations []DataSourceRfaAccessRequestDestinationsDestinations `json:"destinations,omitempty"` - Securable *DataSourceRfaAccessRequestDestinationsSecurable `json:"securable,omitempty"` + AreAnyDestinationsHidden bool `json:"are_any_destinations_hidden,omitempty"` + DestinationSourceSecurable *DataSourceRfaAccessRequestDestinationsDestinationSourceSecurable `json:"destination_source_securable,omitempty"` + Destinations []DataSourceRfaAccessRequestDestinationsDestinations `json:"destinations,omitempty"` + FullName string `json:"full_name"` + Securable *DataSourceRfaAccessRequestDestinationsSecurable `json:"securable,omitempty"` + SecurableType string `json:"securable_type"` } diff --git a/bundle/internal/tf/schema/data_sources.go b/bundle/internal/tf/schema/data_sources.go index f31bb54492..a76da8035a 100644 --- a/bundle/internal/tf/schema/data_sources.go +++ b/bundle/internal/tf/schema/data_sources.go @@ -81,6 +81,12 @@ type DataSources struct { Pipelines map[string]any `json:"databricks_pipelines,omitempty"` PolicyInfo map[string]any `json:"databricks_policy_info,omitempty"` PolicyInfos map[string]any `json:"databricks_policy_infos,omitempty"` + PostgresBranch map[string]any `json:"databricks_postgres_branch,omitempty"` + PostgresBranches map[string]any `json:"databricks_postgres_branches,omitempty"` + PostgresEndpoint map[string]any `json:"databricks_postgres_endpoint,omitempty"` + PostgresEndpoints map[string]any `json:"databricks_postgres_endpoints,omitempty"` + PostgresProject map[string]any `json:"databricks_postgres_project,omitempty"` + PostgresProjects map[string]any `json:"databricks_postgres_projects,omitempty"` QualityMonitorV2 map[string]any `json:"databricks_quality_monitor_v2,omitempty"` QualityMonitorsV2 map[string]any `json:"databricks_quality_monitors_v2,omitempty"` RegisteredModel map[string]any `json:"databricks_registered_model,omitempty"` @@ -196,6 +202,12 @@ func NewDataSources() *DataSources { Pipelines: make(map[string]any), PolicyInfo: make(map[string]any), PolicyInfos: make(map[string]any), + PostgresBranch: make(map[string]any), + PostgresBranches: make(map[string]any), + PostgresEndpoint: make(map[string]any), + PostgresEndpoints: make(map[string]any), + PostgresProject: make(map[string]any), + PostgresProjects: make(map[string]any), QualityMonitorV2: make(map[string]any), QualityMonitorsV2: make(map[string]any), RegisteredModel: make(map[string]any), diff --git a/bundle/internal/tf/schema/resource_app.go b/bundle/internal/tf/schema/resource_app.go index 2c649503a8..c841769f4c 100644 --- a/bundle/internal/tf/schema/resource_app.go +++ b/bundle/internal/tf/schema/resource_app.go @@ -6,16 +6,39 @@ type ResourceAppActiveDeploymentDeploymentArtifacts struct { SourceCodePath string `json:"source_code_path,omitempty"` } +type ResourceAppActiveDeploymentEnvVars struct { + Name string `json:"name,omitempty"` + Value string `json:"value,omitempty"` + ValueFrom string `json:"value_from,omitempty"` +} + +type ResourceAppActiveDeploymentGitSourceGitRepository struct { + Provider string `json:"provider"` + Url string `json:"url"` +} + +type ResourceAppActiveDeploymentGitSource struct { + Branch string `json:"branch,omitempty"` + Commit string `json:"commit,omitempty"` + GitRepository *ResourceAppActiveDeploymentGitSourceGitRepository `json:"git_repository,omitempty"` + ResolvedCommit string `json:"resolved_commit,omitempty"` + SourceCodePath string `json:"source_code_path,omitempty"` + Tag string `json:"tag,omitempty"` +} + type ResourceAppActiveDeploymentStatus struct { Message string `json:"message,omitempty"` State string `json:"state,omitempty"` } type ResourceAppActiveDeployment struct { + Command []string `json:"command,omitempty"` CreateTime string `json:"create_time,omitempty"` Creator string `json:"creator,omitempty"` DeploymentArtifacts *ResourceAppActiveDeploymentDeploymentArtifacts `json:"deployment_artifacts,omitempty"` DeploymentId string `json:"deployment_id,omitempty"` + EnvVars []ResourceAppActiveDeploymentEnvVars `json:"env_vars,omitempty"` + GitSource *ResourceAppActiveDeploymentGitSource `json:"git_source,omitempty"` Mode string `json:"mode,omitempty"` SourceCodePath string `json:"source_code_path,omitempty"` Status *ResourceAppActiveDeploymentStatus `json:"status,omitempty"` @@ -32,20 +55,48 @@ type ResourceAppComputeStatus struct { State string `json:"state,omitempty"` } +type ResourceAppGitRepository struct { + Provider string `json:"provider"` + Url string `json:"url"` +} + type ResourceAppPendingDeploymentDeploymentArtifacts struct { SourceCodePath string `json:"source_code_path,omitempty"` } +type ResourceAppPendingDeploymentEnvVars struct { + Name string `json:"name,omitempty"` + Value string `json:"value,omitempty"` + ValueFrom string `json:"value_from,omitempty"` +} + +type ResourceAppPendingDeploymentGitSourceGitRepository struct { + Provider string `json:"provider"` + Url string `json:"url"` +} + +type ResourceAppPendingDeploymentGitSource struct { + Branch string `json:"branch,omitempty"` + Commit string `json:"commit,omitempty"` + GitRepository *ResourceAppPendingDeploymentGitSourceGitRepository `json:"git_repository,omitempty"` + ResolvedCommit string `json:"resolved_commit,omitempty"` + SourceCodePath string `json:"source_code_path,omitempty"` + Tag string `json:"tag,omitempty"` +} + type ResourceAppPendingDeploymentStatus struct { Message string `json:"message,omitempty"` State string `json:"state,omitempty"` } type ResourceAppPendingDeployment struct { + Command []string `json:"command,omitempty"` CreateTime string `json:"create_time,omitempty"` Creator string `json:"creator,omitempty"` DeploymentArtifacts *ResourceAppPendingDeploymentDeploymentArtifacts `json:"deployment_artifacts,omitempty"` DeploymentId string `json:"deployment_id,omitempty"` + EnvVars []ResourceAppPendingDeploymentEnvVars `json:"env_vars,omitempty"` + GitSource *ResourceAppPendingDeploymentGitSource `json:"git_source,omitempty"` Mode string `json:"mode,omitempty"` SourceCodePath string `json:"source_code_path,omitempty"` Status *ResourceAppPendingDeploymentStatus `json:"status,omitempty"` @@ -62,6 +113,11 @@ type ResourceAppResourcesDatabase struct { Permission string `json:"permission"` } +type ResourceAppResourcesExperiment struct { + ExperimentId string `json:"experiment_id"` + Permission string `json:"permission"` +} + type ResourceAppResourcesGenieSpace struct { Name string `json:"name"` Permission string `json:"permission"` @@ -98,6 +154,7 @@ type ResourceAppResourcesUcSecurable struct { type ResourceAppResources struct { Database *ResourceAppResourcesDatabase `json:"database,omitempty"` Description string `json:"description,omitempty"` + Experiment *ResourceAppResourcesExperiment `json:"experiment,omitempty"` GenieSpace *ResourceAppResourcesGenieSpace `json:"genie_space,omitempty"` Job *ResourceAppResourcesJob `json:"job,omitempty"` Name string `json:"name"` @@ -118,7 +175,9 @@ type ResourceApp struct { DefaultSourceCodePath string `json:"default_source_code_path,omitempty"` Description string `json:"description,omitempty"` EffectiveBudgetPolicyId string `json:"effective_budget_policy_id,omitempty"` + EffectiveUsagePolicyId string `json:"effective_usage_policy_id,omitempty"` EffectiveUserApiScopes []string `json:"effective_user_api_scopes,omitempty"` + GitRepository *ResourceAppGitRepository `json:"git_repository,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name"` NoCompute bool `json:"no_compute,omitempty"` @@ -133,5 +192,6 @@ type ResourceApp struct { UpdateTime string `json:"update_time,omitempty"` Updater string `json:"updater,omitempty"` Url string `json:"url,omitempty"` + UsagePolicyId string `json:"usage_policy_id,omitempty"` UserApiScopes []string `json:"user_api_scopes,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_apps_settings_custom_template.go b/bundle/internal/tf/schema/resource_apps_settings_custom_template.go index e1779af77d..14a95b9e4e 100644 --- a/bundle/internal/tf/schema/resource_apps_settings_custom_template.go +++ b/bundle/internal/tf/schema/resource_apps_settings_custom_template.go @@ -2,6 +2,10 @@ package schema +type ResourceAppsSettingsCustomTemplateManifestResourceSpecsExperimentSpec struct { + Permission string `json:"permission"` +} + type ResourceAppsSettingsCustomTemplateManifestResourceSpecsJobSpec struct { Permission string `json:"permission"` } @@ -25,6 +29,7 @@ type ResourceAppsSettingsCustomTemplateManifestResourceSpecsUcSecurableSpec stru type ResourceAppsSettingsCustomTemplateManifestResourceSpecs struct { Description string `json:"description,omitempty"` + ExperimentSpec *ResourceAppsSettingsCustomTemplateManifestResourceSpecsExperimentSpec `json:"experiment_spec,omitempty"` JobSpec *ResourceAppsSettingsCustomTemplateManifestResourceSpecsJobSpec `json:"job_spec,omitempty"` Name string `json:"name"` SecretSpec *ResourceAppsSettingsCustomTemplateManifestResourceSpecsSecretSpec `json:"secret_spec,omitempty"` diff --git a/bundle/internal/tf/schema/resource_data_quality_monitor.go b/bundle/internal/tf/schema/resource_data_quality_monitor.go index a2713e89b1..849d357914 100644 --- a/bundle/internal/tf/schema/resource_data_quality_monitor.go +++ b/bundle/internal/tf/schema/resource_data_quality_monitor.go @@ -3,6 +3,7 @@ package schema type ResourceDataQualityMonitorAnomalyDetectionConfig struct { + ExcludedTableFullNames []string `json:"excluded_table_full_names,omitempty"` } type ResourceDataQualityMonitorDataProfilingConfigCustomMetrics struct { diff --git a/bundle/internal/tf/schema/resource_job.go b/bundle/internal/tf/schema/resource_job.go index 3b4829ef69..fe114dc5ab 100644 --- a/bundle/internal/tf/schema/resource_job.go +++ b/bundle/internal/tf/schema/resource_job.go @@ -572,6 +572,7 @@ type ResourceJobQueue struct { } type ResourceJobRunAs struct { + GroupName string `json:"group_name,omitempty"` ServicePrincipalName string `json:"service_principal_name,omitempty"` UserName string `json:"user_name,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_metastore.go b/bundle/internal/tf/schema/resource_metastore.go index 31535b21eb..456864f6c1 100644 --- a/bundle/internal/tf/schema/resource_metastore.go +++ b/bundle/internal/tf/schema/resource_metastore.go @@ -10,15 +10,18 @@ type ResourceMetastore struct { DeltaSharingOrganizationName string `json:"delta_sharing_organization_name,omitempty"` DeltaSharingRecipientTokenLifetimeInSeconds int `json:"delta_sharing_recipient_token_lifetime_in_seconds,omitempty"` DeltaSharingScope string `json:"delta_sharing_scope,omitempty"` + ExternalAccessEnabled bool `json:"external_access_enabled,omitempty"` ForceDestroy bool `json:"force_destroy,omitempty"` GlobalMetastoreId string `json:"global_metastore_id,omitempty"` Id string `json:"id,omitempty"` MetastoreId string `json:"metastore_id,omitempty"` - Name string `json:"name"` + Name string `json:"name,omitempty"` Owner string `json:"owner,omitempty"` + PrivilegeModelVersion string `json:"privilege_model_version,omitempty"` Region string `json:"region,omitempty"` StorageRoot string `json:"storage_root,omitempty"` StorageRootCredentialId string `json:"storage_root_credential_id,omitempty"` + StorageRootCredentialName string `json:"storage_root_credential_name,omitempty"` UpdatedAt int `json:"updated_at,omitempty"` UpdatedBy string `json:"updated_by,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_mws_network_connectivity_config.go b/bundle/internal/tf/schema/resource_mws_network_connectivity_config.go index eb4346b69f..e0f64acaf9 100644 --- a/bundle/internal/tf/schema/resource_mws_network_connectivity_config.go +++ b/bundle/internal/tf/schema/resource_mws_network_connectivity_config.go @@ -26,6 +26,7 @@ type ResourceMwsNetworkConnectivityConfigEgressConfigTargetRulesAwsPrivateEndpoi DomainNames []string `json:"domain_names,omitempty"` Enabled bool `json:"enabled,omitempty"` EndpointService string `json:"endpoint_service,omitempty"` + ErrorMessage string `json:"error_message,omitempty"` NetworkConnectivityConfigId string `json:"network_connectivity_config_id,omitempty"` ResourceNames []string `json:"resource_names,omitempty"` RuleId string `json:"rule_id,omitempty"` @@ -40,6 +41,7 @@ type ResourceMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndp DeactivatedAt int `json:"deactivated_at,omitempty"` DomainNames []string `json:"domain_names,omitempty"` EndpointName string `json:"endpoint_name,omitempty"` + ErrorMessage string `json:"error_message,omitempty"` GroupId string `json:"group_id,omitempty"` NetworkConnectivityConfigId string `json:"network_connectivity_config_id,omitempty"` ResourceId string `json:"resource_id,omitempty"` diff --git a/bundle/internal/tf/schema/resource_online_store.go b/bundle/internal/tf/schema/resource_online_store.go index 36a26a3988..dbc47b960d 100644 --- a/bundle/internal/tf/schema/resource_online_store.go +++ b/bundle/internal/tf/schema/resource_online_store.go @@ -9,4 +9,5 @@ type ResourceOnlineStore struct { Name string `json:"name"` ReadReplicaCount int `json:"read_replica_count,omitempty"` State string `json:"state,omitempty"` + UsagePolicyId string `json:"usage_policy_id,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_pipeline.go b/bundle/internal/tf/schema/resource_pipeline.go index 730e1a9fcf..20da58aa79 100644 --- a/bundle/internal/tf/schema/resource_pipeline.go +++ b/bundle/internal/tf/schema/resource_pipeline.go @@ -185,6 +185,7 @@ type ResourcePipelineIngestionDefinitionObjectsReportTableConfiguration struct { ExcludeColumns []string `json:"exclude_columns,omitempty"` IncludeColumns []string `json:"include_columns,omitempty"` PrimaryKeys []string `json:"primary_keys,omitempty"` + RowFilter string `json:"row_filter,omitempty"` SalesforceIncludeFormulaFields bool `json:"salesforce_include_formula_fields,omitempty"` ScdType string `json:"scd_type,omitempty"` SequenceBy []string `json:"sequence_by,omitempty"` @@ -221,6 +222,7 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaTableConfiguration struct { ExcludeColumns []string `json:"exclude_columns,omitempty"` IncludeColumns []string `json:"include_columns,omitempty"` PrimaryKeys []string `json:"primary_keys,omitempty"` + RowFilter string `json:"row_filter,omitempty"` SalesforceIncludeFormulaFields bool `json:"salesforce_include_formula_fields,omitempty"` ScdType string `json:"scd_type,omitempty"` SequenceBy []string `json:"sequence_by,omitempty"` @@ -257,6 +259,7 @@ type ResourcePipelineIngestionDefinitionObjectsTableTableConfiguration struct { ExcludeColumns []string `json:"exclude_columns,omitempty"` IncludeColumns []string `json:"include_columns,omitempty"` PrimaryKeys []string `json:"primary_keys,omitempty"` + RowFilter string `json:"row_filter,omitempty"` SalesforceIncludeFormulaFields bool `json:"salesforce_include_formula_fields,omitempty"` ScdType string `json:"scd_type,omitempty"` SequenceBy []string `json:"sequence_by,omitempty"` @@ -319,6 +322,7 @@ type ResourcePipelineIngestionDefinitionTableConfiguration struct { ExcludeColumns []string `json:"exclude_columns,omitempty"` IncludeColumns []string `json:"include_columns,omitempty"` PrimaryKeys []string `json:"primary_keys,omitempty"` + RowFilter string `json:"row_filter,omitempty"` SalesforceIncludeFormulaFields bool `json:"salesforce_include_formula_fields,omitempty"` ScdType string `json:"scd_type,omitempty"` SequenceBy []string `json:"sequence_by,omitempty"` diff --git a/bundle/internal/tf/schema/resource_postgres_branch.go b/bundle/internal/tf/schema/resource_postgres_branch.go new file mode 100644 index 0000000000..5e66a80ec9 --- /dev/null +++ b/bundle/internal/tf/schema/resource_postgres_branch.go @@ -0,0 +1,34 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type ResourcePostgresBranchSpec struct { + Default bool `json:"default,omitempty"` + IsProtected bool `json:"is_protected,omitempty"` + SourceBranch string `json:"source_branch,omitempty"` + SourceBranchLsn string `json:"source_branch_lsn,omitempty"` + SourceBranchTime string `json:"source_branch_time,omitempty"` +} + +type ResourcePostgresBranchStatus struct { + CurrentState string `json:"current_state,omitempty"` + Default bool `json:"default,omitempty"` + IsProtected bool `json:"is_protected,omitempty"` + LogicalSizeBytes int `json:"logical_size_bytes,omitempty"` + PendingState string `json:"pending_state,omitempty"` + SourceBranch string `json:"source_branch,omitempty"` + SourceBranchLsn string `json:"source_branch_lsn,omitempty"` + SourceBranchTime string `json:"source_branch_time,omitempty"` + StateChangeTime string `json:"state_change_time,omitempty"` +} + +type ResourcePostgresBranch struct { + BranchId string `json:"branch_id,omitempty"` + CreateTime string `json:"create_time,omitempty"` + Name string `json:"name,omitempty"` + Parent string `json:"parent"` + Spec *ResourcePostgresBranchSpec `json:"spec,omitempty"` + Status *ResourcePostgresBranchStatus `json:"status,omitempty"` + Uid string `json:"uid,omitempty"` + UpdateTime string `json:"update_time,omitempty"` +} diff --git a/bundle/internal/tf/schema/resource_postgres_endpoint.go b/bundle/internal/tf/schema/resource_postgres_endpoint.go new file mode 100644 index 0000000000..b35aeeb460 --- /dev/null +++ b/bundle/internal/tf/schema/resource_postgres_endpoint.go @@ -0,0 +1,50 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type ResourcePostgresEndpointSpecSettings struct { + PgSettings map[string]string `json:"pg_settings,omitempty"` + PgbouncerSettings map[string]string `json:"pgbouncer_settings,omitempty"` +} + +type ResourcePostgresEndpointSpec struct { + AutoscalingLimitMaxCu int `json:"autoscaling_limit_max_cu,omitempty"` + AutoscalingLimitMinCu int `json:"autoscaling_limit_min_cu,omitempty"` + Disabled bool `json:"disabled,omitempty"` + EndpointType string `json:"endpoint_type"` + PoolerMode string `json:"pooler_mode,omitempty"` + Settings *ResourcePostgresEndpointSpecSettings `json:"settings,omitempty"` + SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` +} + +type ResourcePostgresEndpointStatusSettings struct { + PgSettings map[string]string `json:"pg_settings,omitempty"` + PgbouncerSettings map[string]string `json:"pgbouncer_settings,omitempty"` +} + +type ResourcePostgresEndpointStatus struct { + AutoscalingLimitMaxCu int `json:"autoscaling_limit_max_cu,omitempty"` + AutoscalingLimitMinCu int `json:"autoscaling_limit_min_cu,omitempty"` + CurrentState string `json:"current_state,omitempty"` + Disabled bool `json:"disabled,omitempty"` + EndpointType string `json:"endpoint_type,omitempty"` + Host string `json:"host,omitempty"` + LastActiveTime string `json:"last_active_time,omitempty"` + PendingState string `json:"pending_state,omitempty"` + PoolerMode string `json:"pooler_mode,omitempty"` + Settings *ResourcePostgresEndpointStatusSettings `json:"settings,omitempty"` + StartTime string `json:"start_time,omitempty"` + SuspendTime string `json:"suspend_time,omitempty"` + SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` +} + +type ResourcePostgresEndpoint struct { + CreateTime string `json:"create_time,omitempty"` + EndpointId string `json:"endpoint_id,omitempty"` + Name string `json:"name,omitempty"` + Parent string `json:"parent"` + Spec *ResourcePostgresEndpointSpec `json:"spec,omitempty"` + Status *ResourcePostgresEndpointStatus `json:"status,omitempty"` + Uid string `json:"uid,omitempty"` + UpdateTime string `json:"update_time,omitempty"` +} diff --git a/bundle/internal/tf/schema/resource_postgres_project.go b/bundle/internal/tf/schema/resource_postgres_project.go new file mode 100644 index 0000000000..8b3940ca71 --- /dev/null +++ b/bundle/internal/tf/schema/resource_postgres_project.go @@ -0,0 +1,56 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type ResourcePostgresProjectSpecDefaultEndpointSettings struct { + AutoscalingLimitMaxCu int `json:"autoscaling_limit_max_cu,omitempty"` + AutoscalingLimitMinCu int `json:"autoscaling_limit_min_cu,omitempty"` + PgSettings map[string]string `json:"pg_settings,omitempty"` + PgbouncerSettings map[string]string `json:"pgbouncer_settings,omitempty"` + SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` +} + +type ResourcePostgresProjectSpecSettings struct { + EnableLogicalReplication bool `json:"enable_logical_replication,omitempty"` +} + +type ResourcePostgresProjectSpec struct { + DefaultEndpointSettings *ResourcePostgresProjectSpecDefaultEndpointSettings `json:"default_endpoint_settings,omitempty"` + DisplayName string `json:"display_name,omitempty"` + HistoryRetentionDuration string `json:"history_retention_duration,omitempty"` + PgVersion int `json:"pg_version,omitempty"` + Settings *ResourcePostgresProjectSpecSettings `json:"settings,omitempty"` +} + +type ResourcePostgresProjectStatusDefaultEndpointSettings struct { + AutoscalingLimitMaxCu int `json:"autoscaling_limit_max_cu,omitempty"` + AutoscalingLimitMinCu int `json:"autoscaling_limit_min_cu,omitempty"` + PgSettings map[string]string `json:"pg_settings,omitempty"` + PgbouncerSettings map[string]string `json:"pgbouncer_settings,omitempty"` + SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` +} + +type ResourcePostgresProjectStatusSettings struct { + EnableLogicalReplication bool `json:"enable_logical_replication,omitempty"` +} + +type ResourcePostgresProjectStatus struct { + BranchLogicalSizeLimitBytes int `json:"branch_logical_size_limit_bytes,omitempty"` + ComputeLastActiveTime string `json:"compute_last_active_time,omitempty"` + DefaultEndpointSettings *ResourcePostgresProjectStatusDefaultEndpointSettings `json:"default_endpoint_settings,omitempty"` + DisplayName string `json:"display_name,omitempty"` + HistoryRetentionDuration string `json:"history_retention_duration,omitempty"` + PgVersion int `json:"pg_version,omitempty"` + Settings *ResourcePostgresProjectStatusSettings `json:"settings,omitempty"` + SyntheticStorageSizeBytes int `json:"synthetic_storage_size_bytes,omitempty"` +} + +type ResourcePostgresProject struct { + CreateTime string `json:"create_time,omitempty"` + Name string `json:"name,omitempty"` + ProjectId string `json:"project_id,omitempty"` + Spec *ResourcePostgresProjectSpec `json:"spec,omitempty"` + Status *ResourcePostgresProjectStatus `json:"status,omitempty"` + Uid string `json:"uid,omitempty"` + UpdateTime string `json:"update_time,omitempty"` +} diff --git a/bundle/internal/tf/schema/resource_quality_monitor_v2.go b/bundle/internal/tf/schema/resource_quality_monitor_v2.go index 18614da3f4..8c682aea15 100644 --- a/bundle/internal/tf/schema/resource_quality_monitor_v2.go +++ b/bundle/internal/tf/schema/resource_quality_monitor_v2.go @@ -3,8 +3,9 @@ package schema type ResourceQualityMonitorV2AnomalyDetectionConfig struct { - LastRunId string `json:"last_run_id,omitempty"` - LatestRunStatus string `json:"latest_run_status,omitempty"` + ExcludedTableFullNames []string `json:"excluded_table_full_names,omitempty"` + LastRunId string `json:"last_run_id,omitempty"` + LatestRunStatus string `json:"latest_run_status,omitempty"` } type ResourceQualityMonitorV2 struct { diff --git a/bundle/internal/tf/schema/resource_rfa_access_request_destinations.go b/bundle/internal/tf/schema/resource_rfa_access_request_destinations.go index 74ce9f7e06..a87fadada4 100644 --- a/bundle/internal/tf/schema/resource_rfa_access_request_destinations.go +++ b/bundle/internal/tf/schema/resource_rfa_access_request_destinations.go @@ -2,6 +2,12 @@ package schema +type ResourceRfaAccessRequestDestinationsDestinationSourceSecurable struct { + FullName string `json:"full_name,omitempty"` + ProviderShare string `json:"provider_share,omitempty"` + Type string `json:"type,omitempty"` +} + type ResourceRfaAccessRequestDestinationsDestinations struct { DestinationId string `json:"destination_id,omitempty"` DestinationType string `json:"destination_type,omitempty"` @@ -15,7 +21,10 @@ type ResourceRfaAccessRequestDestinationsSecurable struct { } type ResourceRfaAccessRequestDestinations struct { - AreAnyDestinationsHidden bool `json:"are_any_destinations_hidden,omitempty"` - Destinations []ResourceRfaAccessRequestDestinationsDestinations `json:"destinations,omitempty"` - Securable *ResourceRfaAccessRequestDestinationsSecurable `json:"securable,omitempty"` + AreAnyDestinationsHidden bool `json:"are_any_destinations_hidden,omitempty"` + DestinationSourceSecurable *ResourceRfaAccessRequestDestinationsDestinationSourceSecurable `json:"destination_source_securable,omitempty"` + Destinations []ResourceRfaAccessRequestDestinationsDestinations `json:"destinations,omitempty"` + FullName string `json:"full_name,omitempty"` + Securable *ResourceRfaAccessRequestDestinationsSecurable `json:"securable,omitempty"` + SecurableType string `json:"securable_type,omitempty"` } diff --git a/bundle/internal/tf/schema/resources.go b/bundle/internal/tf/schema/resources.go index c564428274..5a5a4d976a 100644 --- a/bundle/internal/tf/schema/resources.go +++ b/bundle/internal/tf/schema/resources.go @@ -95,6 +95,9 @@ type Resources struct { Permissions map[string]any `json:"databricks_permissions,omitempty"` Pipeline map[string]any `json:"databricks_pipeline,omitempty"` PolicyInfo map[string]any `json:"databricks_policy_info,omitempty"` + PostgresBranch map[string]any `json:"databricks_postgres_branch,omitempty"` + PostgresEndpoint map[string]any `json:"databricks_postgres_endpoint,omitempty"` + PostgresProject map[string]any `json:"databricks_postgres_project,omitempty"` Provider map[string]any `json:"databricks_provider,omitempty"` QualityMonitor map[string]any `json:"databricks_quality_monitor,omitempty"` QualityMonitorV2 map[string]any `json:"databricks_quality_monitor_v2,omitempty"` @@ -235,6 +238,9 @@ func NewResources() *Resources { Permissions: make(map[string]any), Pipeline: make(map[string]any), PolicyInfo: make(map[string]any), + PostgresBranch: make(map[string]any), + PostgresEndpoint: make(map[string]any), + PostgresProject: make(map[string]any), Provider: make(map[string]any), QualityMonitor: make(map[string]any), QualityMonitorV2: make(map[string]any), diff --git a/bundle/internal/tf/schema/root.go b/bundle/internal/tf/schema/root.go index 42fadf6138..6754dfcd0b 100644 --- a/bundle/internal/tf/schema/root.go +++ b/bundle/internal/tf/schema/root.go @@ -21,7 +21,7 @@ type Root struct { const ProviderHost = "registry.terraform.io" const ProviderSource = "databricks/databricks" -const ProviderVersion = "1.100.0" +const ProviderVersion = "1.102.0" func NewRoot() *Root { return &Root{ From 140fc9e9a9c58c07e16e0ce1d54eb678a5148466 Mon Sep 17 00:00:00 2001 From: Andrew Nester Date: Fri, 9 Jan 2026 12:22:48 +0100 Subject: [PATCH 2/2] added missing field --- acceptance/bundle/resources/jobs/update/out.state.terraform.json | 1 + 1 file changed, 1 insertion(+) diff --git a/acceptance/bundle/resources/jobs/update/out.state.terraform.json b/acceptance/bundle/resources/jobs/update/out.state.terraform.json index 070cb8921f..fbd23e419f 100644 --- a/acceptance/bundle/resources/jobs/update/out.state.terraform.json +++ b/acceptance/bundle/resources/jobs/update/out.state.terraform.json @@ -110,6 +110,7 @@ "retry_on_timeout": false, "run_as": [ { + "group_name": "", "service_principal_name": "", "user_name": "[USERNAME]" }