Tagging subnets

This commit is contained in:
shockrah 2022-12-16 22:50:45 -08:00
parent f47ce5e4ff
commit c4e169efee

View File

@ -9,6 +9,7 @@ resource "aws_subnet" "crete_subnet" {
tags = { tags = {
Name = "Crete Subnet - Internal" Name = "Crete Subnet - Internal"
Description = "Main subnet for EC2 and Alpha-LB"
} }
} }
@ -16,4 +17,8 @@ resource "aws_subnet" "delphi" {
vpc_id = aws_vpc.athens_vpc.id vpc_id = aws_vpc.athens_vpc.id
cidr_block = "10.0.2.0/24" cidr_block = "10.0.2.0/24"
availability_zone = "us-west-1c" availability_zone = "us-west-1c"
tags = {
Name = "Delphi Subnet - Internal"
Description = "Secondary subnet for the Alpha-LB mostly"
}
} }