尝试在 vscode 中初始化 terraform aws 文件时出错

问题描述 投票:0回答:1

ghassan@Ghassan:~/workspace/terraform$ terraform init

Initializing the backend...

Initializing provider plugins...
- Finding hashicorp/aws versions matching "5.46.0"...
╷
│ Error: Invalid provider registry host
│ 
│ The host "registry.terraform.io" given in provider source address "registry.terraform.io/hashicorp/aws" does not offer a Terraform provider registry.

我尝试浏览“releases.hashicorp.com”错误:HashiCorp,此内容当前在您所在的地区不可用。

amazon-web-services terraform
1个回答
0
投票

根据 Terraform Cloud 内容在该地区不可用

根据美国政府监管,HashiCorp 必须限制从某些地区和国家获取某些资产并参与商业活动。

贸易管制文件可在 HashiCorp Trade Controls

找到
© www.soinside.com 2019 - 2024. All rights reserved.