Open douglasnaphas opened 3 years ago
$ aws --profile=doug ec2 describe-regions --all-regions | jq '.Regions | map(.RegionName)[]' | tr -d '"' | while read r ; do echo -n $r | shasum -a 256 ; done | awk '{print $1}' | sed 's/\(...\).*/\1/' | sort
030
08e
189
295
487
528
5e1
722
7ea
9de
b45
b95
bfe
c35
d02
d2a
d76
d8c
ddc
ea2
fa2
If someone wanted this, they could just manually incorporate their region into their suffix.
For example, if someone runs
they should get
Getting the total list of regions in AWS is not straightforward.
This document says: