小编Abd*_*lah的帖子

您打算使用 mongodb/mongodbatlas 吗?如果是这样,您必须指定?每个模块中需要该提供者的源地址

我的根目录中的provider.tf中有以下内容

\n
terraform {\n  required_version = ">= 1.0.5"\n  required_providers {\n    azurerm = {\n      source  = "hashicorp/azurerm"\n      version = "= 3.8.0"\n    }\n    mongodbatlas = {\n      source = "mongodb/mongodbatlas"\n    }\n  }\n}\n
Run Code Online (Sandbox Code Playgroud)\n

terraform init我在阶段中遇到以下错误

\n
Error: Failed to query available provider packages\n\xe2\x94\x82 \n\xe2\x94\x82 Could not retrieve the list of available versions for provider\n\xe2\x94\x82 hashicorp/mongodbatlas: provider registry registry.terraform.io does not\n\xe2\x94\x82 have a provider named registry.terraform.io/hashicorp/mongodbatlas\n\xe2\x94\x82 \n\xe2\x94\x82 Did you intend to use mongodb/mongodbatlas? If so, you must specify that\n\xe2\x94\x82 source address in each …
Run Code Online (Sandbox Code Playgroud)

terraform mongodb-atlas

7
推荐指数
2
解决办法
3641
查看次数

标签 统计

mongodb-atlas ×1

terraform ×1