Skip to content

Commit 99041e1

Browse files
committed
Add public_subnet_availability_zones output for downstream use
1 parent e591dec commit 99041e1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,11 @@ output "public_network_acl_arn" {
165165
value = try(aws_network_acl.public[0].arn, null)
166166
}
167167

168+
output "public_subnet_availability_zones" {
169+
description = "List of availability zones for public subnets"
170+
value = aws_subnet.public[*].availability_zone
171+
}
172+
168173
################################################################################
169174
# Private Subnets
170175
################################################################################

0 commit comments

Comments
 (0)