Created
July 29, 2019 07:28
-
-
Save shikloshi/261f362bbbf253a4b40a1ca553094bc7 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
| # Get InstanceId from specific describe-instances with role tag | |
| aws ec2 describe-instances --filter="Name=tag:role,Values=blog" | jq '.Reservations[0].Instances[] | {"InstanceId": .InstanceId}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment