Skip to content

Instantly share code, notes, and snippets.

@mahnve
Last active August 30, 2022 21:47
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mahnve/a173857078ecf5849dce to your computer and use it in GitHub Desktop.
Save mahnve/a173857078ecf5849dce to your computer and use it in GitHub Desktop.
get list of AWS us east ip ranges
curl https://ip-ranges.amazonaws.com/ip-ranges.json | jq '.prefixes' | jq 'map(select(.region=="us-east-1"))' | jq 'map(.ip_prefix)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment