9 comments

[ 2.7 ms ] story [ 35.6 ms ] thread
Doesn't include the secret and top secret partitions.
Yes, it does. That's what the ISO regions are. us-iso-east-1 is a top secret region, and us-isob-east-1 is a secret region.
Holy crap! I'm surprised that evidence of [redacted] and [redacted] projects, which are really private clouds for large gov customers made it into the public domain!
What's the significance of this?
If I were to hazard a guess, it's people reading through HN, seeing "AWS Partitions", assuming it's a new AWS service announcement, and either voting for it without reading it or favorit-ing it for later. I only opened this assuming it was a new service being announced, since that headline is generally the format those are posted in.
The post was originally called 'List of all 5 AWS partitions (AWS, AWS-cn, AWS-us-gov, AWS-ISO, AWS-ISO-b)', which is surprising, because many might assume there are only one or three -- the last two are only for Secret and Top Secret US Government data.

However, for some reason dang edited the post title, which killed it from the front page really fast.

The source of truth for these partitions is not that code. It's the endpoints.json released in botocore (and replicated into every other sdk):

https://github.com/boto/botocore/blob/a0e22400396eabd5a58e4b...

To quickly list all of them, you can use a simple jq expression, such as the following:

    curl https://raw.githubusercontent.com/boto/botocore/a0e22400/botocore/data/endpoints.json | jq '.partitions[] | [.partitionName, .partition, .regions]'