Getting-Started-Terraform icon indicating copy to clipboard operation
Getting-Started-Terraform copied to clipboard

Module 3 - first apply error, instance not supported in availability zone

Open lauramariecain opened this issue 11 months ago • 1 comments

│ Error: creating EC2 Instance: operation error EC2: RunInstances, https response error StatusCode: 400, RequestID: f5620d69-168d-41c0-ac2b-070fa64e0707, api error Unsupported: Your requested instance type (t3.micro) is not supported in your requested Availability Zone (us-east-1e). Please retry your request by not specifying an Availability Zone or choosing us-east-1a, us-east-1b, us-east-1c, us-east-1d, us-east-1f. │ │ with aws_instance.nginx1, │ on main.tf line 83, in resource "aws_instance" "nginx1": │ 83: resource "aws_instance" "nginx1" {

lauramariecain avatar May 21 '25 16:05 lauramariecain

hey @lauramariecain i ran into this same issue. i was able to get around it by changing the region to "us-east-2" under the aws provider

mf182407 avatar Aug 25 '25 19:08 mf182407