You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error creating SBX and Prod environments: azure_region: was cty.StringVal("eastus"), but now cty.StringVal("westus").
I want to create Power plartform environments configuring the azure_region to be "eastus" but Im having this error:
##[debug]│ Error: Provider produced inconsistent result after apply ##[debug]│ ##[debug]│ When applying changes to ##[debug]│ module.dealer4.module.power_platform_sandbox.powerplatform_environment.powerplatform_environment, ##[debug]│ provider "provider[\"registry.terraform.io/microsoft/power-platform\"]" ##[debug]│ produced an unexpected new value: .azure_region: was ##[debug]│ cty.StringVal("eastus"), but now cty.StringVal("westus"). ##[debug]│ ##[debug]│ This is a bug in the provider, which should be reported in the provider's ##[debug]│ own issue tracker. ##[debug]╵
This had happened because the backend for some reason did not create the environment is the desired region and did that in a fallback one. I will check if we can workaround that during the creation as terraform expects exactly those values that user specified, and if something else is returned that will fail the whole creation process.
Error creating SBX and Prod environments: azure_region: was cty.StringVal("eastus"), but now cty.StringVal("westus").
I want to create Power plartform environments configuring the azure_region to be "eastus" but Im having this error:
##[debug]│ Error: Provider produced inconsistent result after apply ##[debug]│ ##[debug]│ When applying changes to ##[debug]│ module.dealer4.module.power_platform_sandbox.powerplatform_environment.powerplatform_environment, ##[debug]│ provider "provider[\"registry.terraform.io/microsoft/power-platform\"]" ##[debug]│ produced an unexpected new value: .azure_region: was ##[debug]│ cty.StringVal("eastus"), but now cty.StringVal("westus"). ##[debug]│ ##[debug]│ This is a bug in the provider, which should be reported in the provider's ##[debug]│ own issue tracker. ##[debug]╵
Sample Terraform Code
Expected behavior
The environments should be created on the azure_region that I specify and don't ask me or warn me to change the region to "westus"
System Information
Additional context
If I chose the azure_region to be "westus" I can create the environments.
Contribution
Do you plan to raise a PR to address this issue? YES / NO?
The text was updated successfully, but these errors were encountered: