Skip to content

Commit 7f8a2cf

Browse files
simonfaltumpietern
authored andcommitted
Bump Terraform provider to v1.115.0 (databricks#5238)
## Why Keep the CLI's Terraform schema in sync with the latest provider release ([v1.115.0](https://github.com/databricks/terraform-provider-databricks/releases/tag/v1.115.0), published 2026-05-11). ## Changes Bumps the provider version from 1.113.0 to 1.115.0 and regenerates the Go schema types using `go run .` in `bundle/internal/tf/codegen`. Also bumps `hc-install` in the codegen module from 0.9.2 to 0.9.4 so codegen can verify the Terraform download checksum signature on current toolchains. New resources (added in v1.114.0, still present in v1.115.0): - `databricks_disaster_recovery_failover_group` - `databricks_disaster_recovery_stable_url` - `databricks_secret_uc` - `databricks_supervisor_agent` - `databricks_supervisor_agent_tool` New data sources for each of the above (singular and plural). Acceptance test outputs that capture the provider user-agent string or terraform state shape were regenerated: - `bundle/user_agent`, `bundle/state/state_present` - `bundle/migrate/{basic,dashboards,default-python,grants,permissions,runas}` - `bundle/resources/jobs/update` - `bundle/resources/postgres_projects/update_display_name` - `bundle/deployment/bind/{dashboard/recreation,pipelines/recreate,pipelines/update}` The schema-driven changes are: a populated `provider_config.workspace_id` on jobs and pipelines, and `update_mask: initial_endpoint_spec,spec` on postgres project PATCH requests. ## Test plan - [x] `./task checks` passes - [x] `go build ./...` passes - [x] Affected acceptance tests regenerated locally - [ ] CI passes on the PR --------- Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
1 parent 45acabf commit 7f8a2cf

284 files changed

Lines changed: 2517 additions & 483 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@
2424

2525
* Bump Go toolchain to 1.25.10 ([#5213](https://github.com/databricks/cli/pull/5213)).
2626
* Bump `github.com/databricks/databricks-sdk-go` from v0.128.0 to v0.132.0.
27+
* Bump Terraform provider to v1.115.0.

acceptance/bundle/deployment/bind/dashboard/recreation/out.state_after_bind.terraform.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
"md5": null,
2929
"parent_path": "/Users/[USERNAME]",
3030
"path": "/Users/[USERNAME]/test dashboard [UNIQUE_NAME].lvdash.json",
31-
"provider_config": [],
31+
"provider_config": [
32+
{
33+
"workspace_id": "[NUMID]"
34+
}
35+
],
3236
"serialized_dashboard": "{\"pages\":[{\"displayName\":\"Untitled page\",\"name\":\"02724bf2\",\"pageType\":\"PAGE_TYPE_CANVAS\"}]}",
3337
"update_time": "[TIMESTAMP]",
3438
"warehouse_id": "[TEST_DEFAULT_WAREHOUSE_ID]"

acceptance/bundle/deployment/bind/pipelines/recreate/out.bind-fail.terraform.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ Terraform will perform the following actions:
4949
- include = "/Workspace/Users/foo@databricks.com/another/**" -> null
5050
}
5151
}
52+
53+
- provider_config {
54+
- workspace_id = "[NUMID]" -> null
55+
}
5256
}
5357

5458
Plan: 1 to add, 0 to change, 1 to destroy.

acceptance/bundle/deployment/bind/pipelines/update/out.bind-fail.terraform.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ Terraform will perform the following actions:
3636
- include = "/Workspace/Users/foo@databricks.com/another/**" -> null
3737
}
3838
}
39+
40+
# (1 unchanged block hidden)
3941
}
4042

4143
Plan: 0 to add, 1 to change, 0 to destroy.

acceptance/bundle/migrate/basic/out.original_state.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@
5555
"parameter": [],
5656
"performance_target": null,
5757
"pipeline_task": [],
58-
"provider_config": [],
58+
"provider_config": [
59+
{
60+
"workspace_id": "[NUMID]"
61+
}
62+
],
5963
"python_wheel_task": [],
6064
"queue": [
6165
{
@@ -208,7 +212,11 @@
208212
"name": "Test Migration Pipeline",
209213
"notification": [],
210214
"photon": false,
211-
"provider_config": [],
215+
"provider_config": [
216+
{
217+
"workspace_id": "[NUMID]"
218+
}
219+
],
212220
"restart_window": [],
213221
"root_path": null,
214222
"run_as": [],
@@ -254,7 +262,11 @@
254262
"id": "mycat.myschema.myvol",
255263
"name": "myvol",
256264
"owner": "[USERNAME]",
257-
"provider_config": [],
265+
"provider_config": [
266+
{
267+
"workspace_id": "[NUMID]"
268+
}
269+
],
258270
"schema_name": "myschema",
259271
"storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]",
260272
"volume_path": "/Volumes/mycat/myschema/myvol",

acceptance/bundle/migrate/dashboards/out.original_state.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
"md5": "b4ab6aee48485b0b5e980761d3efe936",
2929
"parent_path": "/Users/[USERNAME]",
3030
"path": "/Users/[USERNAME]/my dashboard.lvdash.json",
31-
"provider_config": [],
31+
"provider_config": [
32+
{
33+
"workspace_id": "[NUMID]"
34+
}
35+
],
3236
"serialized_dashboard": "{\"pages\":[{\"displayName\":\"Dashboard test bundle-deploy-dashboard\",\"name\":\"02724bf2\",\"pageType\":\"PAGE_TYPE_CANVAS\"}]}\n",
3337
"update_time": "[TIMESTAMP]",
3438
"warehouse_id": "123456"

acceptance/bundle/migrate/default-python/out.state_original.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,11 @@
116116
],
117117
"performance_target": null,
118118
"pipeline_task": [],
119-
"provider_config": [],
119+
"provider_config": [
120+
{
121+
"workspace_id": "[NUMID]"
122+
}
123+
],
120124
"python_wheel_task": [],
121125
"queue": [
122126
{
@@ -441,7 +445,11 @@
441445
"name": "[dev [USERNAME]] my_default_python_etl",
442446
"notification": [],
443447
"photon": false,
444-
"provider_config": [],
448+
"provider_config": [
449+
{
450+
"workspace_id": "[NUMID]"
451+
}
452+
],
445453
"restart_window": [],
446454
"root_path": "/Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/files/src/my_default_python_etl",
447455
"run_as": [],

acceptance/bundle/migrate/grants/out.original_state.json

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@
3131
"metastore": null,
3232
"model": null,
3333
"pipeline": null,
34-
"provider_config": [],
34+
"provider_config": [
35+
{
36+
"workspace_id": "[NUMID]"
37+
}
38+
],
3539
"recipient": null,
3640
"schema": null,
3741
"share": null,
@@ -75,7 +79,11 @@
7579
"metastore": null,
7680
"model": null,
7781
"pipeline": null,
78-
"provider_config": [],
82+
"provider_config": [
83+
{
84+
"workspace_id": "[NUMID]"
85+
}
86+
],
7987
"recipient": null,
8088
"schema": "main.schema_grants",
8189
"share": null,
@@ -118,7 +126,11 @@
118126
"metastore": null,
119127
"model": null,
120128
"pipeline": null,
121-
"provider_config": [],
129+
"provider_config": [
130+
{
131+
"workspace_id": "[NUMID]"
132+
}
133+
],
122134
"recipient": null,
123135
"schema": null,
124136
"share": null,
@@ -155,7 +167,11 @@
155167
"metastore_id": "[UUID]",
156168
"name": "mymodel",
157169
"owner": "[USERNAME]",
158-
"provider_config": [],
170+
"provider_config": [
171+
{
172+
"workspace_id": "[NUMID]"
173+
}
174+
],
159175
"schema_name": "schema_grants",
160176
"storage_location": null,
161177
"updated_at": [UNIX_TIME_MILLIS][0],
@@ -187,7 +203,11 @@
187203
"name": "schema_grants",
188204
"owner": "[USERNAME]",
189205
"properties": null,
190-
"provider_config": [],
206+
"provider_config": [
207+
{
208+
"workspace_id": "[NUMID]"
209+
}
210+
],
191211
"schema_id": "[UUID]",
192212
"storage_root": null
193213
},
@@ -210,7 +230,11 @@
210230
"id": "main.schema_grants.volume_name",
211231
"name": "volume_name",
212232
"owner": "[USERNAME]",
213-
"provider_config": [],
233+
"provider_config": [
234+
{
235+
"workspace_id": "[NUMID]"
236+
}
237+
],
214238
"schema_name": "schema_grants",
215239
"storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]",
216240
"volume_path": "/Volumes/main/schema_grants/volume_name",

acceptance/bundle/migrate/permissions/out.original_state.json

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@
5555
"parameter": [],
5656
"performance_target": null,
5757
"pipeline_task": [],
58-
"provider_config": [],
58+
"provider_config": [
59+
{
60+
"workspace_id": "[NUMID]"
61+
}
62+
],
5963
"python_wheel_task": [],
6064
"queue": [
6165
{
@@ -195,7 +199,11 @@
195199
"notebook_path": null,
196200
"object_type": "job",
197201
"pipeline_id": null,
198-
"provider_config": [],
202+
"provider_config": [
203+
{
204+
"workspace_id": "[NUMID]"
205+
}
206+
],
199207
"registered_model_id": null,
200208
"repo_id": null,
201209
"repo_path": null,
@@ -257,7 +265,11 @@
257265
"notebook_path": null,
258266
"object_type": "pipelines",
259267
"pipeline_id": "[UUID]",
260-
"provider_config": [],
268+
"provider_config": [
269+
{
270+
"workspace_id": "[NUMID]"
271+
}
272+
],
261273
"registered_model_id": null,
262274
"repo_id": null,
263275
"repo_path": null,
@@ -332,7 +344,11 @@
332344
"name": "Test Migration Pipeline",
333345
"notification": [],
334346
"photon": false,
335-
"provider_config": [],
347+
"provider_config": [
348+
{
349+
"workspace_id": "[NUMID]"
350+
}
351+
],
336352
"restart_window": [],
337353
"root_path": null,
338354
"run_as": [],

acceptance/bundle/migrate/runas/out.create_requests.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"headers": {
33
"User-Agent": [
4-
"databricks-tf-provider/1.113.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"
4+
"databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/pipeline auth/pat"
55
]
66
},
77
"method": "POST",
@@ -32,7 +32,7 @@
3232
{
3333
"headers": {
3434
"User-Agent": [
35-
"databricks-tf-provider/1.113.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"
35+
"databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/permissions auth/pat"
3636
]
3737
},
3838
"method": "PUT",

0 commit comments

Comments
 (0)