Skip to content

Commit 898bbaf

Browse files
feat: Add NAT gateway interface ids output (#1006)
* feat: Output network interface IDs of NAT gateways * docs: updated README --------- Co-authored-by: Bryant Biggs <[email protected]>
1 parent c467edb commit 898bbaf

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,7 @@ No modules.
637637
| <a name="output_nat_ids"></a> [nat\_ids](#output\_nat\_ids) | List of allocation ID of Elastic IPs created for AWS NAT Gateway |
638638
| <a name="output_nat_public_ips"></a> [nat\_public\_ips](#output\_nat\_public\_ips) | List of public Elastic IPs created for AWS NAT Gateway |
639639
| <a name="output_natgw_ids"></a> [natgw\_ids](#output\_natgw\_ids) | List of NAT Gateway IDs |
640+
| <a name="output_natgw_interface_ids"></a> [natgw\_interface\_ids](#output\_natgw\_interface\_ids) | List of Network Interface IDs assigned to NAT Gateways |
640641
| <a name="output_outpost_network_acl_arn"></a> [outpost\_network\_acl\_arn](#output\_outpost\_network\_acl\_arn) | ARN of the outpost network ACL |
641642
| <a name="output_outpost_network_acl_id"></a> [outpost\_network\_acl\_id](#output\_outpost\_network\_acl\_id) | ID of the outpost network ACL |
642643
| <a name="output_outpost_subnet_arns"></a> [outpost\_subnet\_arns](#output\_outpost\_subnet\_arns) | List of ARNs of outpost subnets |

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,11 @@ output "natgw_ids" {
484484
value = aws_nat_gateway.this[*].id
485485
}
486486

487+
output "natgw_interface_ids" {
488+
description = "List of Network Interface IDs assigned to NAT Gateways"
489+
value = aws_nat_gateway.this[*].network_interface_id
490+
}
491+
487492
################################################################################
488493
# Egress Only Gateway
489494
################################################################################

0 commit comments

Comments
 (0)