Closed thotagopi closed 3 years ago
Hi sir whenever I creating a subnet I got this error. Invalid AWS Region: us-west-2 this is my script
resource "aws_subnet" "web" { vpc_id = aws_vpc.myvpc.id cidr_block = "192.168.0.0/24" availability_zone = "us-west-2a" tags = { Name = "web" }
}
provider "aws"{ region ="us-west-2" }
thankyou Santosh
Hi sir whenever I creating a subnet I got this error. Invalid AWS Region: us-west-2 this is my script
web
resource "aws_subnet" "web" { vpc_id = aws_vpc.myvpc.id cidr_block = "192.168.0.0/24" availability_zone = "us-west-2a" tags = { Name = "web" }
}
provider "aws"{ region ="us-west-2" }