Last active
December 20, 2023 19:41
-
-
Save cam8001/426c9d56a86915296c42566e120dc129 to your computer and use it in GitHub Desktop.
One liner to get list of services keyed to AWS 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
#!/bin/bash | |
curl -s 'https://api.regional-table.region-services.aws.a2z.com/index.json' \ | |
| jq '.prices[] | .attributes | .["aws:region"], .["aws:serviceName"]' \ | |
| sed '$!N;s/\n/,/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment