Created
April 8, 2020 20:55
-
-
Save rms1000watt/d048f5794f382143a1c8fd83bd8c7909 to your computer and use it in GitHub Desktop.
Get Elastic IPs and filter based on tag via aws cli
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
| aws ec2 describe-addresses --filters "Name=tag:Environment,Values=qa" | jq -r '.Addresses[].PublicIp' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment