【发布时间】:2020-11-18 04:20:31
【问题描述】:
我正在尝试使用以下 terraform 代码在 azure 中的 West India 区域中创建资源组。
resource "azurerm_resource_group" "tf_rg" {
name = "terraform_resource_group"
location = "West India"
}
它给出了一些奇怪的错误,如下所示
Error: "westindia" 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,koreacentral,koreasouth,indiasouth,indiawest,indiacentral,australiaeast,australiasoutheast,canadacentral,canadaeast,uksouth,ukwest,francecentral,francesouth,australiacentral,australiacentral2,uaecentral,uaenorth,southafricanorth,southafricawest,switzerlandnorth,switzerlandwest,germanynorth,germanywestcentral,norwayeast,norwaywest,brazilsoutheast"
我还尝试将区域名称更改为India West、westindia 和indiawest。但没有任何效果,它给出了同样的错误。
我尝试在Centra US 区域创建资源组,令人惊讶的是它正在工作。谁能告诉我可能是什么问题。
【问题讨论】: