2 Answers
- Newest
- Most votes
- Most comments
1
You can pull the list of AZs from the ENIs. Here is the CLI:
aws ec2 describe-network-interfaces --filters Name=interface-type,Values=nat_gateway --query NetworkInterfaces[*].AvailabilityZone
0
The response to DescribeNatGateways
does include the subnet id which can be used with DescribeSubnets
to determine the availability zone.
Relevant content
- Accepted Answerasked 3 months ago
- asked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago