-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
azurerm_databricks_workspace
- Upgrade Databricks API to the 2021-04-01-preview version
#12543
Conversation
azurerm/internal/services/databricks/databricks_workspace_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/databricks/databricks_workspace_resource.go
Outdated
Show resolved
Hide resolved
…urce.go Co-authored-by: kt <[email protected]>
…urce.go Co-authored-by: kt <[email protected]>
…raform-providers/terraform-provider-azurerm into e-databricks-upgrade-private
azurerm_databricks_workspace
- Upgrade Databricks API to the 2021-04-01-preview versionazurerm_databricks_workspace
- Upgrade Databricks API to the 2021-04-01-preview version
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.
Thanks @WodansSon - just a couple comments left inline
"load_balancer_backend_pool_name": { | ||
Type: pluginsdk.TypeString, | ||
ForceNew: true, | ||
Optional: true, | ||
AtLeastOneOf: workspaceCustomParametersString(), | ||
}, | ||
|
||
"load_balancer_id": { |
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.
can you get the name from the id?
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.
No, I cannot get the backend name from the load balancer but I can get the load balancer ID from the backend pool id. 🤔
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.
Fixed... I have removed the two custom parameters(e.g. load_balancer_backend_pool_name
and load_balancer_id
) and replaced it with a single top level parameter load_balancer_backend_address_pool_id
. Since this field is not real, I had to do some magic behind the curtains to get it to work and inject the values into the custom parameters struct of the ARM call. That said, it appears to be correct since my local test cases are working, azure portal and the state file appears to be correct as well.
Default: true, | ||
}, | ||
|
||
"require_network_security_group_rules": { |
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.
should we be consistant with the tense?
"require_network_security_group_rules": { | |
"network_security_group_rules_required": { |
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.
Fixed.
AtLeastOneOf: workspaceCustomParametersString(), | ||
}, | ||
|
||
"storage_account_sku_name": { |
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.
can we get this from the storage account or is it auto created from the name above:
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.
No, this is auto created by the Databricks RP, it has a default value of standard_GRS I think. This is offered as an override so you can control sku of the auto generated storage account.
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.
Thanks @WodansSon - LGTM 🍰
This functionality has been released in v2.71.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
NOTE: This PR cannot be merged until the service team removes the subscription level feature flag from Azure excluding all subscriptions who have not registered the feature flag within their subscription from calling this API version, else it would break all customers currently using the Terraform Databricks resource.
ADDITIONAL: Service team has indicated that this version of the API will be callable by all subscriptions on the 26th of July. So I have moved this into the v2.70.0 Release.
ADDITIONAL ADDITIONAL: Removing the feature flag for the API is taking longer than expected to roll out and is now estimated to be complete by Friday 7/30/2021. So I have moved this into the v2.71.0 Release.
azurerm_databricks_workspace_private_endpoint_connection
Added fields:
Data Source fields:
connections
blockconnections
block fields:Examples:
Databricks Workspace
withPrivate Link Endpoint
.fixes #11158
fixes #7799