from Hacker News

AWS partitions

by ta20190717 on 5/25/20, 4:42 AM with 9 comments

  • by TheDong on 5/25/20, 5:41 AM

    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]'
  • by libria on 5/25/20, 5:21 AM

    What's the significance of this?
  • by posnet on 5/25/20, 5:18 AM

    Doesn't include the secret and top secret partitions.