Skip to content

Instantly share code, notes, and snippets.

@shokoe
Created February 5, 2017 13:16
Show Gist options
  • Save shokoe/96446c2c198548b43dbb3256c8018465 to your computer and use it in GitHub Desktop.
Save shokoe/96446c2c198548b43dbb3256c8018465 to your computer and use it in GitHub Desktop.
Get instance Name tag value:
aws ec2 describe-tags --filters "Name=resource-id,Values=i-11111111111111111" "Name=key,Values=Name" --output text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment