Created
September 8, 2017 09:11
-
-
Save jessedearing/fa8f32e39824227ce2b47c7ba3529b72 to your computer and use it in GitHub Desktop.
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 --profile invision ec2 describe-instances --filters "Name=tag:Service,Values=mongo" | jq -r '.Reservations[].Instances[] | .PrivateIpAddress + " "+ (.Tags[] | select(.Key == "Name")).Value' | v - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment