Skip to content

Instantly share code, notes, and snippets.

@jamesls
Created February 7, 2020 23:19
Show Gist options
  • Save jamesls/08a79968d11271a1895d401dbd096e2c to your computer and use it in GitHub Desktop.
Save jamesls/08a79968d11271a1895d401dbd096e2c to your computer and use it in GitHub Desktop.
$ aws ec2 describe-regions --output for-real-xml
<?xml version="1.0" ?>
<response>
<Regions>
<item>
<Endpoint>ec2.eu-north-1.amazonaws.com</Endpoint>
<RegionName>eu-north-1</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.ap-south-1.amazonaws.com</Endpoint>
<RegionName>ap-south-1</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.eu-west-3.amazonaws.com</Endpoint>
<RegionName>eu-west-3</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.eu-west-2.amazonaws.com</Endpoint>
<RegionName>eu-west-2</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.eu-west-1.amazonaws.com</Endpoint>
<RegionName>eu-west-1</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.ap-northeast-3.amazonaws.com</Endpoint>
<RegionName>ap-northeast-3</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.ap-northeast-2.amazonaws.com</Endpoint>
<RegionName>ap-northeast-2</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.ap-northeast-1.amazonaws.com</Endpoint>
<RegionName>ap-northeast-1</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.sa-east-1.amazonaws.com</Endpoint>
<RegionName>sa-east-1</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.ca-central-1.amazonaws.com</Endpoint>
<RegionName>ca-central-1</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.ap-southeast-1.amazonaws.com</Endpoint>
<RegionName>ap-southeast-1</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.ap-southeast-2.amazonaws.com</Endpoint>
<RegionName>ap-southeast-2</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.eu-central-1.amazonaws.com</Endpoint>
<RegionName>eu-central-1</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.us-east-1.amazonaws.com</Endpoint>
<RegionName>us-east-1</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.us-east-2.amazonaws.com</Endpoint>
<RegionName>us-east-2</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.us-west-1.amazonaws.com</Endpoint>
<RegionName>us-west-1</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
<item>
<Endpoint>ec2.us-west-2.amazonaws.com</Endpoint>
<RegionName>us-west-2</RegionName>
<OptInStatus>opt-in-not-required</OptInStatus>
</item>
</Regions>
</response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment