Skip to content

Instantly share code, notes, and snippets.

@timogoosen
Created September 26, 2023 07:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timogoosen/1a301cb144be03484a0f99449e2beae4 to your computer and use it in GitHub Desktop.
Save timogoosen/1a301cb144be03484a0f99449e2beae4 to your computer and use it in GitHub Desktop.
Get S3 IP Range for US-East-1
curl https://ip-ranges.amazonaws.com/ip-ranges.json | jq '.prefixes' | jq 'map(select(.region=="us-east-1"))' | jq 'map(select(.service=="S3"))' | jq 'map(.ip_prefix)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment