[英]Azure resource group creation using terraform
我正在尝试使用以下 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
中部地区创建资源组,令人惊讶的是它正在工作。 谁能让我知道可能是什么问题。
这是azurerm
提供程序版本2.20.0
中的一个错误。
我使用2.19.0
版本时没有遇到过这样的问题
provider "azurerm" {
version = "=2.19.0"
features {}
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.