Created
August 26, 2019 03:24
-
-
Save matsubo/9308b3a91e75d1ce62fe6f0d047a3c7d to your computer and use it in GitHub Desktop.
Find zone id(apne1-az1) from AWS zone name(ap-northeast-1c).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% aws ec2 describe-availability-zones | |
{ | |
"AvailabilityZones": [ | |
{ | |
"State": "available", | |
"Messages": [], | |
"RegionName": "ap-northeast-1", | |
"ZoneName": "ap-northeast-1a", | |
"ZoneId": "apne1-az4" | |
}, | |
{ | |
"State": "available", | |
"Messages": [], | |
"RegionName": "ap-northeast-1", | |
"ZoneName": "ap-northeast-1c", | |
"ZoneId": "apne1-az1" | |
}, | |
{ | |
"State": "available", | |
"Messages": [], | |
"RegionName": "ap-northeast-1", | |
"ZoneName": "ap-northeast-1d", | |
"ZoneId": "apne1-az2" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment