EC2-DESCRIBE-TAGS(1)
π 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 whateverAWS_ACCESS_KEYis 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 theAWS_SECRET_KEYenvironment variable (if set). π€«-T,--security-token TOKENβ the AWS delegation token. defaults to the value of theAWS_DELEGATION_TOKENenvironment variable (if set). ποΈ-K,--private-key KEYβ [DEPRECATED] β οΈ specifyKEYas the private key to use. defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set). overrides the default. (deprecated bestie, it's giving legacy, tread carefully π)-C,--cert CERTβ [DEPRECATED] β οΈ specifyCERTas the X509 certificate to use. defaults to the value of theEC2_CERTenvironment variable (if set). overrides the default. (also deprecated, also legacy, also be careful π)-U,--url URLβ specifyURLas the web service URL to use. defaults to'https://ec2.amazonaws.com'(that's us-east-1) or to the value of theEC2_URLenvironment variable (if set). overrides the default. π--region REGIONβ specifyREGIONas the web service region to use. this option overrides the URL you gave with the-U URLoption and theEC2_URLenvironment variable. it defaults to the region specified by theEC2_URLenvironment variable, orus-east-1if 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 timeoutTIMEOUT, in seconds. β³--request-timeout TIMEOUTβ specify a request timeoutTIMEOUT, 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:
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
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
- ubuntu jammy: ec2-api-tools 1.6.14.1-0ubuntu1
- ubuntu noble: ec2-api-tools 1.6.14.1-0ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms