When trying to deploy using Terraform Cloud to Azure China I am getting the following error:
My code is very simple and has nothing to do with HSM:
provider "azurerm" {
features {}
environment = "China"
}
resource "azurerm_resource_group" "tfca_vm" {
name = "${var.name_prefix}tfca-vm"
location = var.azure_location
}
I tried disabling the environment for the provider and ensuring all necessary resource providers were registered. Unfortunately, that did not help.
2
Answers
It turns out it was a bug in AzureRM provider 3.63.
Yes, downgrading to 3.62 worked with China Azue.
`