EC2-DETACH-VPN-GATEWAY(1)
β¨ EC2-DETACH-VPN-GATEWAY β¨
okay bestie, welcome to the ec2-detach-vpn-gateway page, from the User Commands manual π
this one is short and sweet and honestly? iconic.
π NAME π
ec2-detach-vpn-gateway β Detaches a VPN gateway from a VPC
like. that's the whole vibe. we're detaching. we're freeing the gateway. slay.
πΈ SYNOPSIS πΈ
ec2detvgw ([ec2-detach-vpn-gateway])
ec2detvgw [GENERAL OPTIONS] VPN_GATEWAY -c VPC
π GENERAL NOTES π
Any command option/parameter may be passed a value of - to indicate that values for that option should be read from stdin.
yes literally any of them. pass the little dash and it'll read from stdin instead. no cap π«Ά
π¦ DESCRIPTION π¦
Detaches a VPN gateway from a VPC. The VPN_GATEWAY parameter is the VPN gateway you want to detach from the VPC.
that's it, that's the plot. you hand it a VPN gateway, you point it at a VPC, and it unhooks them from each other. it's giving "we need to talk" energy but for infrastructure π
π GENERAL OPTIONS π
-O,--aws-access-key_KEY_ β AWS Access Key ID. Defaults to the value of theAWS_ACCESS_KEYenvironment variable (if set).-W,--aws-secret-key_KEY_ β 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.-C,--cert_CERT_ β [DEPRECATED] SpecifyCERTas the X509 certificate to use. Defaults to the value of theEC2_CERTenvironment variable (if set). Overrides the default.-U,--url_URL_ β SpecifyURLas the web service URL to use. Defaults to the value ofhttps://ec2.amazonaws.com(us-east-1) or to that 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 URLoption andEC2_URLenvironment variable. This option defaults to the region specified by theEC2_URLenvironment variable orus-east-1if this environment variable is not set.-D,--auth-dry-runβ Check if you can perform the requested action rather than actually performing it.-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).
bestie PSA:-Kand-Care marked [DEPRECATED], so maybe don't build your whole personality around them, okay? π they still work, they're justβ¦ old news.
π SPECIFIC OPTIONS π
-c,--vpc_VPC_ β The ID of the VPC you want to detach the VPN gateway from.
this is the one that actually matters for this command, and yes, the synopsis makes you use it. -c VPC, every time. periodt β¨
π SEE ALSO π
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
go read those if you want the full lore, iykyk π
and that's the whole page, bestie!! π₯³ this little gem is from the EC2 API command line tools, version 1.6.14.1, api=2014-05-01, filed under EC2-DETACH-VPN-GATEWAY(1). mwah, go detach something responsibly πππ¦
π¦ 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