1
resposta

Credencial de acesso

Ao tentar fazer o terraform.exe /plan

provider "aws" { profile = "default" region = "us-east-2" access_key = "email@email.com" secret_key = "minhasenha" }

Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: InvalidClientTokenId: The security token included in the request is invalid. │ status code: 403, request id: 3b58d139-5750-4cf1-a510-f311abe1620b │ │ with provider["registry.terraform.io/hashicorp/aws"], │ on main.tf line 12, in provider "aws": │ 12: provider "aws" {

O problema é que a senha está correta. Na AWS vejo a seguinte mensagem

[02:21 PM PST] We are seeing early signs of recovery for the issue affecting networking connectivity and increased API error rates and latencies for some services within the AP-SOUTHEAST-1 Region. The issue has not affected connectivity to the EC2 network. We are continuing to work towards full recovery.

1 resposta

Oi Eduardo,

Existem duas regiões aqui,

provedor "aws" { profile = "default" region = "us-east-2" access_key = "email@email.com" secret_key = "minhasenha" }

e *AP-SOUTHEAST-1 *Region

Pode ser somente a configuração das regiões, e me parece que a segunda esta instabilidade.