Created
February 7, 2022 03:13
-
-
Save dreampuf/6b3fa2de1dc698248dccd5b49ee58422 to your computer and use it in GitHub Desktop.
Export selected AWS region IP CIDR
This file contains 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
curl -L https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.prefixes[] | select(.region |contains("cn-")) | .ip_prefix' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment