Skip to content

Instantly share code, notes, and snippets.

@jayers99
Created April 1, 2019 23:27
Show Gist options
  • Save jayers99/8b8ad72f795d161d6b5a78e3429ccf70 to your computer and use it in GitHub Desktop.
Save jayers99/8b8ad72f795d161d6b5a78e3429ccf70 to your computer and use it in GitHub Desktop.
aws ip ranges fun
curl https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.prefixes[] | select(.region=="us-west-2") | select(.service=="S3") | .ip_prefix' ip-ranges.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment