英文:
Terraform Cloud cannot Deploy Resources in Azure China Subscription
问题
When trying to deploy using Terraform Cloud to Azure China I am getting the following error:
我的代码非常简单,与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.
英文:
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.
答案1
得分: 1
是的,降级到3.62版本适用于中国 Azure。
> 引用
azurerm = {
source = "hashicorp/azurerm"
version = "= 3.62.0"
}
英文:
Yes, downgrading to 3.62 worked with China Azue.
`
> Blockquote
azurerm = {
source = "hashicorp/azurerm"
version = "= 3.62.0"
}
答案2
得分: 0
在AzureRM提供程序版本3.63中发现了一个错误。
英文:
It turns out it was a bug in AzureRM provider 3.63.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论