Created
April 21, 2019 22:46
-
-
Save jamesoff/faa0f12ef692e558aacc137fa394d483 to your computer and use it in GitHub Desktop.
Get available instance types in a region
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
http https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonEC2/current/eu-west-2/index.json | jq '[ .products | to_entries | .[].value.attributes.instanceType | select(. != null) | scan("^[a-z0-9]+") ] | unique' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment