Skip to content

Commit 45bf03c

Browse files
committed
added unique tag in private subnets of vpc
1 parent a347d35 commit 45bf03c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ module "vpc" {
137137
"kubernetes.io/role/internal-elb" = 1
138138
})
139139

140+
private_subnet_tags_per_az = { for az in var.availability_zones : az => {
141+
"Karpenter" = "${az}"
142+
} }
143+
140144
private_route_table_tags = tomap({
141145
"Name" = "${var.environment}-${var.name}-private-route-table"
142146
})

0 commit comments

Comments
 (0)