Olá estou com o seguinte erro no comando terraform apply, apos eu digitar o YES
│ Error: creating EC2 Instance: InvalidParameterValue: Invalid value 't2-micro' for InstanceType.
│ status code: 400, request id: 7cdfe65c-d18e-49a4-a641-049a68589b4b
│
│ with aws_instance.dev[0],
│ on main.tf line 6, in resource "aws_instance" "dev":
│ 6: resource "aws_instance" "dev" {
Meu codigo esta assim
provider "aws" {
region = "us-west-2"
}
resource "aws_instance" "dev" {
count = 2
ami = "ami-098e42ae54c764c35"
instance_type = "t2-micro"
key_name = "terraform-aws"
tags = {
Name = "dev${count.index}"
}
}