EC2-DESCRIBE-TAGS(1)

πŸ“¦ version 1.6.14.1, in ubuntu jammy, ubuntu noble

πŸ’– EC2-DESCRIBE-TAGS πŸ’–

okay bestie, welcome to the ec2-describe-tags page from the EC2 API command line tools manual β€” it lives in section 1, aka User Commands, aka the "you type this in a shell" section. pull up a chair, we're listing tags and we're gonna have a time πŸ’…


✨ NAME ✨

ec2-describe-tags β€” List tags. that's it. that's the whole job. it lists tags. 🏷️


πŸ¦‹ SYNOPSIS πŸ¦‹

ec2dtag ([ec2-describe-tags])
ec2dtag [GENERAL OPTIONS] [[--filter NAME=VALUE] ...]

yes the brackets are doing a lot there. no, we are not touching them. they're iconic as-is. periodt. 😌


🌸 GENERAL NOTES 🌸

okay so this is a fun one: any command option or parameter can be handed a value of -, and that means "hey, read the values for this option from stdin instead." that's the whole note. little hyphen, big power. 🫢


πŸ’œ DESCRIPTION πŸ’œ

it lists your tags!! all of them!! well β€” all the ones you want, because you can filter the list down so it only returns the tags you actually specify. so it's a list, but make it curated. main character energy only. ✨


πŸŽ€ GENERAL OPTIONS πŸŽ€

these are the ones that apply across the board, the shared wardrobe of the command line tools:

  • -O, --aws-access-key KEY β€” your AWS Access Key ID. if you don't pass it, it defaults to whatever AWS_ACCESS_KEY is set to in your environment (if it's set at all). πŸ”‘
  • -W, --aws-secret-key KEY β€” your AWS Secret Access Key. defaults to the value of the AWS_SECRET_KEY environment variable (if set). 🀫
  • -T, --security-token TOKEN β€” the AWS delegation token. defaults to the value of the AWS_DELEGATION_TOKEN environment variable (if set). 🎟️
  • -K, --private-key KEY β€” [DEPRECATED] ⚠️ specify KEY as the private key to use. defaults to the value of the EC2_PRIVATE_KEY environment variable (if set). overrides the default. (deprecated bestie, it's giving legacy, tread carefully πŸ™ˆ)
  • -C, --cert CERT β€” [DEPRECATED] ⚠️ specify CERT as the X509 certificate to use. defaults to the value of the EC2_CERT environment variable (if set). overrides the default. (also deprecated, also legacy, also be careful πŸ’€)
  • -U, --url URL β€” specify URL as the web service URL to use. defaults to 'https://ec2.amazonaws.com' (that's us-east-1) or to the value of the EC2_URL environment variable (if set). overrides the default. 🌈
  • --region REGION β€” specify REGION as the web service region to use. this option overrides the URL you gave with the -U URL option and the EC2_URL environment variable. it defaults to the region specified by the EC2_URL environment variable, or us-east-1 if that env var isn't set. πŸ‘‘
  • -D, --auth-dry-run β€” check whether you can perform the requested action instead of actually performing it. a little vibe check before you commit. 🧚
  • -v, --verbose β€” verbose output. more words, more info. πŸ—£οΈ
  • -?, --help β€” display this help. we love a self-aware command. 🫢
  • -H, --headers β€” display column headers. yes queen, label your columns. πŸ“‹
  • --debug β€” display additional debugging information. for when you need the tea. πŸ“
  • --show-empty-fields β€” indicate empty fields. so you can see the emptiness. 😭
  • --hide-tags β€” do not display tags for tagged resources. ironic for a tag-listing command, but okay, we respect the choice. πŸ’€
  • --connection-timeout TIMEOUT β€” specify a connection timeout TIMEOUT, in seconds. ⏳
  • --request-timeout TIMEOUT β€” specify a request timeout TIMEOUT, in seconds. ⏳

⭐ SPECIFIC OPTIONS ⭐

  • -F, --filter FILTER β€” add a filter criterion for the result-set. this is how you make the list say only what you want it to say. slay. πŸ”₯

πŸ’… SEE ALSO πŸ’…

go read the docs, bestie, they're right there:


and that's the page!! this was EC2 API command line tools, version 1.6.14.1, api=2014-05-01, and yeah it's a little vintage but she still serves. go forth and describe those tags, no cap. πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from