Create VPC using .tf
resource "aws_vpc" "usa_vpc"{
cidr_block = "10.0.0.0/16"
enable_dns_hostnames = true
tags = {
Name = "usa"
}
}terraform init
terraform plan # plan show overview of what will this code do
terraform apply 

Last updated