-
-
Save indrayam/8dc3cd60b3b614e0823fe558550b7197 to your computer and use it in GitHub Desktop.
Query the AWS Pricing API to get all currently available EC2 instance types
This file contains hidden or 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
#!/bin/bash | |
curl https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonEC2/current/index.json | jq -r '.products[].attributes["instanceType"]' | sort -u | grep '\.' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment