Configuring Terraform AWS Provider

provider “aws” {
region = “us-east-1”
}

resource “aws_instance” “small” {
ami = “ami-022e1a32d3f742bd8” # Replace with the desired AMI ID
instance_type = “t3.small”
}

Is there a question in your post?

Yes i was getting few errors while running this code, but later it got resolved , the problem was because of AWS outage of a region.

This post could be deleted.