-
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
CDN Profile in Global region not compatible with AzureRM v2.20.0 #7881
Comments
This comment has been minimized.
This comment has been minimized.
Thank you for the workaround @neil-yechenwei |
This has been released in version 2.23.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.23.0"
}
# ... other configuration ... |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.29
Affected Resource(s)
azurerm_cdn_profile
azurerm_cdn_endpoint
Terraform Configuration Files
This is existing configuration used in Terraform v0.12.28 & AzureRM v2.19.0 without problem:
Expected Behavior
Should detect no changes after upgrading to AzureRM v2.20.0
Actual Behavior
Error: "global" was not found in the list of supported Azure Locations: "westus,westus2,eastus,centralus,centraluseuap,southcentralus,northcentralus,westcentralus,eastus2,eastus2euap,brazilsouth,brazilus,northeurope,westeurope,eastasia,southeastasia,japanwest,japaneast,k
oreacentral,koreasouth,indiasouth,indiawest,indiacentral,australiaeast,australiasoutheast,canadacentral,canadaeast,uksouth,ukwest,francecentral,francesouth,australiacentral,australiacentral2,uaecentral,uaenorth,southafricanorth,southafricawest,switzerlandnorth,switzerlan
dwest,germanynorth,germanywestcentral,norwayeast,norwaywest,brazilsoutheast"
Also tried changing configuration to region of resource group:
In this case got message:
Tried removing the resource from Terraform state by using
terraform state rm
and re-importing using region specific config without luck, still results in "must be replaced" message.Steps to Reproduce
terraform plan
Important Factoids
The resource is reported to be in Global region
The text was updated successfully, but these errors were encountered: