Skip to content

Instantly share code, notes, and snippets.

@palmerj
Last active March 11, 2025 09:44
Show Gist options
  • Save palmerj/e293b443def642431f05775aa4d7f640 to your computer and use it in GitHub Desktop.
Save palmerj/e293b443def642431f05775aa4d7f640 to your computer and use it in GitHub Desktop.
One liner to get AWS S3 IP address ranges for ap-southeast-2 (Sydney)
curl https://ip-ranges.amazonaws.com/ip-ranges.json | jq '.prefixes' | jq 'map(select(.region=="ap-southeast-2"))' | jq 'map(select(.service=="S3"))' | jq 'map(.ip_prefix)'
@Squairron
Copy link

Squairron commented Mar 8, 2025

@geometry vibes, Very helpful to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment