Skip to content

azurerm_databricks_workspace - fix ignore_changes support#28527

Merged
jackofallops merged 4 commits intomainfrom
e/databricks-workspace-split-create-update
Jan 16, 2025
Merged

azurerm_databricks_workspace - fix ignore_changes support#28527
jackofallops merged 4 commits intomainfrom
e/databricks-workspace-split-create-update

Conversation

@jackofallops
Copy link
Member

Community Note

  • Please vote on this PR by adding a 👍 reaction to the original PR to help the community and maintainers prioritize for review
  • Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for PR followers and do not help prioritize for review

Description

This older resource could not correctly support the use of ignore_changes due to the shared code for create and update. This has been split to allow this to be used.
Additionally, validation has been added to ensure that the values for public_subnet_name and private_subnet_name are appropriately delegated to "Microsoft.Databricks/workspaces" before attempting to create the resource as this could result in the resource being partially created, but the service returning an error to Terraform that would interrupt and exit and apply.

  • azurerm_databricks_workspace - fix ignore_changes support

This is a (please select all that apply):

  • Bug Fix
  • New Feature (ie adding a service, resource, or data source)
  • Enhancement
  • Breaking Change

add in guardrails for ensuring subnets have correct delegations when used
@jackofallops
Copy link
Member Author

Tests all good:

image

@jackofallops jackofallops merged commit a0fd138 into main Jan 16, 2025
33 checks passed
@jackofallops jackofallops deleted the e/databricks-workspace-split-create-update branch January 16, 2025 17:12
@github-actions github-actions bot added this to the v4.16.0 milestone Jan 16, 2025
jackofallops added a commit that referenced this pull request Jan 16, 2025
jackofallops added a commit that referenced this pull request Jan 16, 2025
* update for #27680

* Update CHANGELOG.md for #28465

* Update CHANGELOG.md #27932

* Update CHANGELOG.md for #28505

* Update CHANGELOG.md for #28474

* Update CHANGELOG.md #28516

* Update CHANGELOG for #28456

* Update CHANGELOG.md for #28472

* Update CHANGELOG.md #28307

* Update CHANGELOG.md for #27859

* Update for #28519

* Update for #27791 #27528

* Update CHANGELOG.md for #28527

* update changelog links and generate provider schema

---------

Co-authored-by: jackofallops <11830746+jackofallops@users.noreply.github.com>
Co-authored-by: catriona-m <86247157+catriona-m@users.noreply.github.com>
Co-authored-by: sreallymatt <106555974+sreallymatt@users.noreply.github.com>
Co-authored-by: Matthew Frahry <mbfrahry@gmail.com>
Co-authored-by: jackofallops <ste@hashicorp.com>
NotTheEvilOne pushed a commit to b1-systems/terraform-provider-azurerm that referenced this pull request Jan 20, 2025
…orp#28527)

* split create/update functions
add in guardrails for ensuring subnets have correct delegations when used

* terrafmt

* fixup update

* fixup parse error messages
NotTheEvilOne pushed a commit to b1-systems/terraform-provider-azurerm that referenced this pull request Jan 20, 2025
* update for hashicorp#27680

* Update CHANGELOG.md for hashicorp#28465

* Update CHANGELOG.md hashicorp#27932

* Update CHANGELOG.md for hashicorp#28505

* Update CHANGELOG.md for hashicorp#28474

* Update CHANGELOG.md hashicorp#28516

* Update CHANGELOG for hashicorp#28456

* Update CHANGELOG.md for hashicorp#28472

* Update CHANGELOG.md hashicorp#28307

* Update CHANGELOG.md for hashicorp#27859

* Update for hashicorp#28519

* Update for hashicorp#27791 hashicorp#27528

* Update CHANGELOG.md for hashicorp#28527

* update changelog links and generate provider schema

---------

Co-authored-by: jackofallops <11830746+jackofallops@users.noreply.github.com>
Co-authored-by: catriona-m <86247157+catriona-m@users.noreply.github.com>
Co-authored-by: sreallymatt <106555974+sreallymatt@users.noreply.github.com>
Co-authored-by: Matthew Frahry <mbfrahry@gmail.com>
Co-authored-by: jackofallops <ste@hashicorp.com>
@github-actions
Copy link
Contributor

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants