Last active
January 18, 2022 18:02
-
-
Save mathisve/3779837ba2bad7374b3d12ae7b82679f to your computer and use it in GitHub Desktop.
get elastic ips with tag
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
#!/bin/bash | |
aws ec2 describe-addresses \ | |
--filters "Name=tag-key,Values=Static" | jq -r '.Addresses[] | .PublicIp' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment