resource "aws_subnet" "sub2" { vpc_id = aws_vpc.myvpc.id cidr_block = "10.0.1.0/24" availability_zone = "us-east-1b" map_public_ip_on_launch = true }
resource "aws_subnet" "sub2" { vpc_id = aws_vpc.myvpc.id cidr_block = "10.0.1.0/24" availability_zone = "us-east-1b" map_public_ip_on_launch = true }