私のプロバイダコードは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
答え1
次のように編集することはinit.tf
私にとって効果的でした。
provider "aws" {
shared_credentials_file = "~/.aws/credentials"
region = "us-east-1"
version = "v2.70.0"
}