feature: subnets

This commit is contained in:
David FILLON committed 2024-03-24 17:03:43 +01:00
1 parent af8e1cc4a6
commit b7b1653cc6
10 files changed
+253 -89

No files matched your search

+5
View File
@@ -7,3 +7,8 @@ output "vpc" {
description = "value"
value = aws_vpc.self
}
output "subnet_ids" {
description = "Lisr of public subnet IDs."
value = { for g in keys(var.subnet_groups) : g => [for k, v in local.subnets_attributes : aws_subnet.self[k].id if g == v.subnet_group] }
}