Closed steve148 closed 3 years ago
@steve148 Please do workspace update in multiple steps. E.g. create a second network, commit, apply. Then in the next commit/apply change the network. Then in the third commit/apply remove the older network.
This is currently a limitation of the platform. Would you also be able to PR in the documentation bit about it? :)
There's also somewhat related bug #649
@steve148 i've raised this issue internally. meanwhile, if you want to do an update, please test out update changes from #734, as current update is broken.
Terraform Version
Terraform version 0.140 Provider version 0.34.0
Affected Resource(s)
Please list the resources as a list, for example:
Environment variable names
n/a
Terraform Configuration Files
Debug Output
n/a
Panic Output
n/a
Expected Behavior
The end goal was to change the CIDR block for the VPC. The plan showed the following for databricks related resources (minus the specific IDs).
Ideally, the new VPC and its subcomponents would have been created first, registered with the databricks workspace as the new network configuration, and then the old VPC and sub-components would have been cleaned up.
Actual Behavior
When running the plan, it failed with the following error.
I later found out this is because a workspace can have it's network configuration updated but not deleted (while the workspace is active).
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids