Bom dia! estou executando conforme o video ,porem depois do comando terraform plan ele apresenta o seguinte erro:
Error: error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.
Please see https://registry.terraform.io/providers/hashicorp/aws │ for more information about providing credentials. │ │ Error: NoCredentialProviders: no valid providers in chain │ caused by: EnvAccessKeyNotFound: failed to find credentials in the environment. │ SharedCredsLoad: failed to load profile, default. │ EC2RoleRequestError: no EC2 instance role found │ caused by: RequestError: send request failed │ caused by: Get "http://169.254.169.254/latest/meta-data/iam/security-credentials/": dial tcp 169.254.169.254:80: connect: connection refused
acredito eu que seja pela falta da chave publica e privada seria isto ? mas no video nao pede elas