organization
change in the provider configuration is not detected in the resouces
#1152
Labels
organization
change in the provider configuration is not detected in the resouces
#1152
Terraform version
Terraform Configuration Files
First create a workspace to an organization configured in the provider:
Then change the organization in the provider configuration:
Terraform Output
Expected Behavior
The resource should have been recreated to the other organization.
Actual Behavior
The organization change was not detected.
Additional Context
Probably not very essential in normal operations. But I hit the same issue when started to implement some new resources and data sources using the plugin framework, and realized that it already exists with the SDKv2 resources.
I guess also with the SDK the
ConfiguredClient.schemaOrDefaultOrganization()
uses the state instead of configuration for verifying if the organization has been set in the resource.The text was updated successfully, but these errors were encountered: