Aws
安裝提供程序“aws”時出錯:openpgp:未知實體的簽名
我的提供程式碼
init.tf
如下:provider "aws" { shared_credentials_file = "~/.aws/credentials" region = "us-east-1" }
我使用的 Terraform 版本是:
0.11.14
我在執行以下操作時收到如下錯誤
terraform init
:Error installing provider "aws": openpgp: signature made by unknown entity. Terraform analyses the configuration and state and automatically downloads plugins for the providers used. However, when attempting to download this plugin an unexpected error occured. This may be caused if for some reason Terraform is unable to reach the plugin repository. The repository may be unreachable if access is blocked by a firewall. If automatic installation is not possible or desirable in your environment, you may alternatively manually install plugins by downloading a suitable distribution package and placing the plugin's executable file in the following directory: terraform.d/plugins/windows_amd64
編輯
init.tf
如下,它對我有用:provider "aws" { shared_credentials_file = "~/.aws/credentials" region = "us-east-1" version = "v2.70.0" }