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
#!/usr/bin/env bash | |
aws ec2 describe-instances \ | |
| jq '.Reservations[].Instances[] | { id: .InstanceId, name: .Tags[] | select(.Key == "Name").Value, publicip: .PublicIpAddress, privateip: .PrivateIpAddress }'\ | |
| jq -s 'sort_by(.name)' |
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
### Keybase proof | |
I hereby claim: | |
* I am jaypipes on github. | |
* I am jaypipes (https://keybase.io/jaypipes) on keybase. | |
* I have a public key ASA7K1JyD_qCRPlaxqCYbNQ_Ge2H2tSuj33oMi2eQpP-dwo | |
To claim this, I am signing this object: |