-
Notifications
You must be signed in to change notification settings - Fork 159
Bump Terraform provider to v1.113.0 #4991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7a819bd
51feff7
2df98b8
8220756
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| RecordRequests = false | ||
|
|
||
| [Env] | ||
| DATABRICKS_CACHE_ENABLED = 'false' | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -308,7 +308,7 @@ | |
| { | ||
| "headers": { | ||
| "User-Agent": [ | ||
| "databricks-tf-provider/1.111.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.113.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", | ||
|
|
@@ -317,7 +317,7 @@ | |
| { | ||
| "headers": { | ||
| "User-Agent": [ | ||
| "databricks-tf-provider/1.111.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.113.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", | ||
|
|
@@ -327,3 +327,39 @@ | |
| "name": "myschema" | ||
| } | ||
| } | ||
| { | ||
| "headers": { | ||
| "User-Agent": [ | ||
| "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" | ||
| ] | ||
| }, | ||
| "method": "GET", | ||
| "path": "/.well-known/databricks-config" | ||
| } | ||
| { | ||
| "headers": { | ||
| "User-Agent": [ | ||
| "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" | ||
| ] | ||
| }, | ||
| "method": "GET", | ||
| "path": "/.well-known/databricks-config" | ||
| } | ||
| { | ||
| "headers": { | ||
| "User-Agent": [ | ||
| "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" | ||
| ] | ||
| }, | ||
| "method": "GET", | ||
| "path": "/.well-known/databricks-config" | ||
| } | ||
| { | ||
| "headers": { | ||
| "User-Agent": [ | ||
| "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" | ||
| ] | ||
| }, | ||
| "method": "GET", | ||
| "path": "/.well-known/databricks-config" | ||
| } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this match the # of command invocations? Just to gut check that we're not doing 1 of these per TF request.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, it's per terraform invocation, not per API request. The provider calls /.well-known/databricks-config during initialization, so it happens roughly twice per terraform operation (plan, apply). Deploy runs plan+apply so you see ~4 provider calls, destroy similarly gets ~6. The single calls with cli/... user-agent are from the CLI SDK's own config resolution. I think there might be an effort looking into adding caching for this, but we'd have to ask @tanmay-db
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The current TF Release (v1.113.0) doesn't directly rely on this end point. This is called during Host metadata resolution in Go SDK and that is bumped in TF so I am guessing this is why this is needed here (not sure)? In very near future we plan to use this in TF The plan is to add this in HostType() in Go SDK so
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| package schema | ||
|
|
||
| const ProviderVersion = "1.111.0" | ||
| const ProviderVersion = "1.113.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not relevant for this case, I guess?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The TF provider v1.113.0 makes extra /.well-known/databricks-config calls that the direct engine doesn't. Since both variants share out.requests.txt, the terraform variant now produces more requests than direct, causing a divergence. Disabling recording for this test sidesteps it since the test only cares about the plan output anyway.