Skip to content

Commit bc5541d

Browse files
authored
Upgrade TF provider to 1.94.0 (#3799)
## Changes Upgrade TF provider to 1.94.0 ## Why Includes a fix for a crash when an error happens during reading databricks_job (databricks/terraform-provider-databricks#5110) Fixes #3783
1 parent 2837583 commit bc5541d

File tree

9 files changed

+61
-70
lines changed

9 files changed

+61
-70
lines changed

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Dependency updates
1010

1111
### Bundles
12+
* Fix a panic in TF when it fails to read the job ([#3799](https://github.com/databricks/cli/pull/3799))
1213
* For secret scopes, no longer remove current user's permissions ([#3780](https://github.com/databricks/cli/pull/3780))
1314
* Automatically add owner permissions during bundle initialization, this makes final permissions visible in 'bundle validate -o json' ([#3780](https://github.com/databricks/cli/pull/3780))
1415

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11

22
>>> errcode [CLI] bundle deploy
33
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
4-
Error: exit status 1
5-
6-
Error: cannot read job: panic: runtime error: invalid memory address or nil pointer dereference
7-
8-
with databricks_job.foo,
9-
on bundle.tf.json line 43, in resource.databricks_job.foo:
10-
43: }
11-
12-
13-
14-
15-
Exit code: 1
4+
Deploying resources...
5+
Updating deployment state...
6+
Deployment complete!
Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11

22
>>> errcode [CLI] bundle plan
3-
Error: exit status 1
3+
create jobs.foo
44

5-
Error: cannot read job: panic: runtime error: invalid memory address or nil pointer dereference
6-
7-
with databricks_job.foo,
8-
on bundle.tf.json line 43, in resource.databricks_job.foo:
9-
43: }
10-
11-
12-
13-
14-
Exit code: 1
5+
Plan: 1 to add, 0 to change, 0 to delete, 0 unchanged
Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11

22
>>> errcode [CLI] bundle destroy --auto-approve
3-
Error: exit status 1
3+
All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default
44

5-
Error: cannot read job: panic: runtime error: invalid memory address or nil pointer dereference
6-
7-
with databricks_job.foo,
8-
on bundle.tf.json line 43, in resource.databricks_job.foo:
9-
43: }
10-
11-
12-
13-
14-
Exit code: 1
5+
Deleting files...
6+
Destroy complete!
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package schema
22

3-
const ProviderVersion = "1.92.0"
3+
const ProviderVersion = "1.94.0"

bundle/internal/tf/schema/data_source_share.go

Lines changed: 31 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundle/internal/tf/schema/data_source_shares.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundle/internal/tf/schema/resource_share.go

Lines changed: 19 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundle/internal/tf/schema/root.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)