terraform init
terraform validate
terraform plan
terraform apply
Create VPC Create private and public subnet Create an internet gateway and associate to the VPC Create the Nat Gateway into public subnet Create Public route => then add public route via Internet Gateway and associate it to the public subnet Create Private route => then add private route via Nat Gateway and associate it to the private subnet