Created
December 22, 2020 13:23
-
-
Save joswr1ght/5f504703596c391ba05369e11ba49694 to your computer and use it in GitHub Desktop.
Get AWS IP list, filtered by region
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This isn't so much of a script as it is a placeholder for something I don't want to forget | |
wget -qO- https://ip-ranges.amazonaws.com/ip-ranges.json | jq '.prefixes[] | if .region == "us-east-1" then .ip_prefix else empty end' -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment