Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit 6a07853

Browse files
authored
BATIAI-303 Simplify cluster deployments by making the 1-* scripts part of the TF rollout (#6)
1 parent 1232bc2 commit 6a07853

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

outputs.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ output "private_subnets" {
1818
value = data.aws_subnets.private.ids
1919
}
2020

21+
output "private_subnets_by_zone" {
22+
description = "map of AZs to private subnet ids"
23+
value = { for subnet in data.aws_subnet.private : subnet.availability_zone => subnet.id }
24+
}
25+
2126
output "public_subnets" {
2227
description = "List of IDs of public subnets"
2328
value = data.aws_subnets.public.ids
@@ -43,6 +48,11 @@ output "transport_subnets_by_zone" {
4348
value = { for subnet in data.aws_subnet.transport : subnet.availability_zone => subnet.id }
4449
}
4550

51+
output "container_subnets_by_zone" {
52+
description = "map of AZs to container subnet ids"
53+
value = { for container in data.aws_subnet.container : container.availability_zone => container.id }
54+
}
55+
4656
output "cmscloud_vpn_pl" {
4757
description = "Prefix list of cmscloud vpn"
4858
value = data.aws_ec2_managed_prefix_list.vpn_prefix_list.id

0 commit comments

Comments
 (0)