Skip to content

Instantly share code, notes, and snippets.

@cromyhector
Created May 31, 2022 05:31
Show Gist options
  • Save cromyhector/073ed8662516bcd2b443ecf66ad97310 to your computer and use it in GitHub Desktop.
Save cromyhector/073ed8662516bcd2b443ecf66ad97310 to your computer and use it in GitHub Desktop.
resource "aws_subnet" "private_subnet_1" {
vpc_id = aws_vpc.ecs_vpc.id
cidr_block = "10.0.2.0/24"
availability_zone = "us-east-1a"
tags = {
Name = "private_subnet_1"
}
}
resource "aws_subnet" "private_subnet_2" {
vpc_id = aws_vpc.ecs_vpc.id
cidr_block = "10.0.3.0/24"
availability_zone = "us-east-1a"
tags = {
Name = "private_subnet_2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment