EC2-DELETE-CUSTOMER-GATEWAY(1)

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

πŸ’– EC2-DELETE-CUSTOMER-GATEWAY πŸ’–

okay bestie, welcome to ec2-delete-customer-gateway(1) β€” a User Commands page from the EC2 API command line tools, and yes it does exactly what the name says, no plot twist πŸ’…


✨ NAME ✨

ec2-delete-customer-gateway β€” Delete a customer gateway


πŸ¦‹ SYNOPSIS πŸ¦‹

 ec2delcgw ([ec2-delete-customer-gateway])
 ec2delcgw [GENERAL OPTIONS] CUSTOMER_GATEWAY

πŸŽ€ GENERAL NOTES πŸŽ€

Any command option or parameter can be handed the value - to say "hey, read the values for this one from stdin instead." yes, literally any of them. it's giving flexible ✨


πŸ’œ DESCRIPTION πŸ’œ

So you wanna delete a customer gateway. slay. This command does that.

BUT. Big but. You must delete the VPN connection before deleting the customer gateway. The order matters, no skipping ahead, the API will not be nice about it 😭

And CUSTOMER_GATEWAY? That's the ID of the customer gateway you want to yeet into the void. That's the whole parameter. That's it.


πŸ‘‘ GENERAL OPTIONS πŸ‘‘

  • -O, --aws-access-key KEY β€” Your AWS Access Key ID. 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 β€” 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.
  • -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.
heads up bestie, those two are marked [DEPRECATED] in the original, so maybe don't build your whole personality around them πŸ™ˆ
  • -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 will override the URL specified by 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 environment variable isn't set. so it's lowkey the boss of the URL options πŸ‘‘
  • -D, --auth-dry-run β€” Check if you can perform the requested action rather than actually performing it. vibe check before the real thing, iconic.
  • -v, --verbose β€” Verbose output. give me all the lore πŸ“–
  • -?, --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 timeout TIMEOUT (in seconds).
  • --request-timeout TIMEOUT β€” Specify a request timeout TIMEOUT (in seconds).

🌈 SEE ALSO 🌈


okay that's the whole page, you're fully caught up 🫢

sign-off time: this lil beauty comes from the EC2 API command line tools, version 1.6.14.1, api=2014-05-01 β€” so if it ever feels vintage, that's why. go forth and delete responsibly, bestie. delete the VPN connection first. I'm serious. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from