EC2-DELETE-VPC(1)
π EC2-DELETE-VPC(1) β bestie's guide to yeeting a VPC π
okay so real talk, this page is from the ec2-delete-vpc manual (that's the tool, the man page name is EC2-DELETE-VPC(1)) and it's literally just "how do I delete a VPC" and honestly? iconic. let's get into it π¦
β¨ NAME β¨
ec2-delete-vpc β Delete a VPC π
π SYNOPSIS π
ec2delvpc ([ec2-delete-vpc])
ec2delvpc [GENERAL OPTIONS] VPC
πΈ GENERAL NOTES πΈ
ok so the big brain move here: any command option or parameter can be handed a value of - and that means "bestie, read the values for this option from stdin instead" π
π¦ DESCRIPTION π¦
Deletes a VPC. periodt. π
but WAIT. before you go feral on that delete button, you must terminate all running instances and delete all subnets before deleting the VPC. it's giving "you can't break up with the VPC until you've moved all your stuff out" π no skipping steps fr fr.
π GENERAL OPTIONS π
-O,--aws-access-key KEYβ your AWS Access Key ID. Defaults to whateverAWS_ACCESS_KEYenvironment variable says (if it's set). π-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β 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. β οΈ yes bestie it literally says deprecated, 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, we love a legacy moment-U,--url URLβ SpecifyURLas the web service URL to use. Defaults to'https://ec2.amazonaws.com'(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 will override the URL specified by the"-U URL"option andEC2_URLenvironment variable. This option defaults to the region specified by theEC2_URLenvironment variable orus-east-1if this environment variable is not set. πΊοΈ lowkey it's the boss of-U, keep that in mind-D,--auth-dry-runβ Check if you can perform the requested action rather than actually performing it. π§ͺ vibe check before the real thing, no cap-v,--verboseβ Verbose output. π£οΈ-?,--helpβ Display this help. π«Ά-H,--headersβ Display column headers. π--debugβ Display additional debugging information. π--show-empty-fieldsβ Indicate empty fields. π³οΈ--hide-tagsβ Do not display tags for tagged resources. π--connection-timeout TIMEOUTβ Specify a connection timeoutTIMEOUT(in seconds). β±οΈ--request-timeout TIMEOUTβ Specify a request timeoutTIMEOUT(in seconds). β
π SEE ALSO π
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
go read the docs bestie, they're right there π
heads up:-Kand-Care marked [DEPRECATED] in the original and I'm not gonna pretend otherwise, so if you're reaching for those, maybe don't βπ
and that's the whole page!! this was EC2 API command line tools, version 1.6.14.1, api 2014-05-01, and it's the EC2-DELETE-VPC(1) manual. slay, go delete that VPC (after terminating your instances and deleting your subnets, obviously) π
β¨π
π¦ 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