Quando executo o comando terraform plan retorna o seguinte erro: Error: Error running plan: 1 error(s) occurred:
- provider.aws: No valid credential sources found for AWS Provider. Please see https://terraform.io/docs/providers/aws/index.html for more information on providing credentials for the AWS Provider
`
Codigo abaixo:
provider "aws" { version = "~> 2.0" region = "us-east-1" }
resource "aws_instance" "dev" {
count = 3 ami = "ami-06b263d6ceff0b3dd"
instance_type = "t2.micro"
key_name = "terraform-aws"
tags = {
Name = "dev${count.index}"
}
}
`