Skip to content

Instantly share code, notes, and snippets.

@mahnve
Last active August 30, 2022 21:47
Show Gist options
  • Select an option

  • Save mahnve/a173857078ecf5849dce to your computer and use it in GitHub Desktop.

Select an option

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