We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents acfcdd9 + 3b9c5e7 commit a0c5818Copy full SHA for a0c5818
aws/modules/infrastructure_modules/vpc/outputs.tf
@@ -73,3 +73,18 @@ output "sorted_vpc_zone_ids_map" {
73
description = "The sorted AZ Zone IDs as a map"
74
value = local.sorted_azs_map
75
}
76
+
77
+output "nat_gateway_public_ips" {
78
+ description = "NAT Gateway public IPs"
79
+ value = [for val in aws_nat_gateway.public : val.public_ip]
80
+}
81
82
+output "nat_gateway_private_ips" {
83
+ description = "NAT Gateway private IPs"
84
+ value = [for val in aws_nat_gateway.public : val.private_ip]
85
86
87
+output "nat_gateway_allocation_ids" {
88
+ description = "NAT Gateway EIP allocation IDs"
89
+ value = [for val in aws_nat_gateway.public : val.allocation_id]
90
0 commit comments