EC2-ATTACH-INTERNET-GATEWAY(1)

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

πŸ’– NAME πŸ’–

okay so bestie, welcome to ec2-attach-internet-gateway β€” she lives in the User Commands manual section (that's section 1, iykyk), and her whole entire job is attaching an internet gateway to a specified network. that's it. that's the gig. ✨


πŸŽ€ SYNOPSIS πŸŽ€

 ec2attigw ([ec2-attach-internet-gateway])
 ec2attigw [GENERAL OPTIONS] INTERNET_GATEWAY -c VPC

🌸 GENERAL NOTES 🌸

real talk, this applies to literally every command in the whole toolset:

  • Any command option/parameter may be passed a value of - to indicate that values for that option should be read from stdin. so like, if you don't wanna type the thing, pipe the thing. slay.

πŸ¦‹ DESCRIPTION πŸ¦‹

She attaches an internet gateway to a specified network. that's the vibe. 🫢

INTERNET_GATEWAY is the ID of the internet gateway that you wish to attach. like, the actual one you want to hook up. no cap.


✨ GENERAL OPTIONS ✨

these are the universal ones, the ones every command in the family gets to share. πŸ’…

  • -O, --aws-access-key KEY β€” AWS Access Key ID. Defaults to the value of the AWS_ACCESS_KEY environment variable (if set).
  • -W, --aws-secret-key KEY β€” 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. like bestie, deprecated means deprecated, use the newer auth path okay 😭
  • -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. same energy, same warning 🚩
  • -U, --url URL β€” Specify URL as the web service URL to use. Defaults to the value of https://ec2.amazonaws.com (us-east-1) or to that 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 EC2_URL environment variable. This option defaults to the region specified by the EC2_URL environment variable or us-east-1 if this environment variable is not set. so she's got main character energy over -U, noted. πŸ‘‘
  • -D, --auth-dry-run β€” Check if you can perform the requested action rather than actually performing it. it's giving "rehearsal, not the show". 🎭
  • -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 timeout TIMEOUT (in seconds).
  • --request-timeout TIMEOUT β€” Specify a request timeout TIMEOUT (in seconds).

πŸ’œ SPECIFIC OPTIONS πŸ’œ

the one that's special to this command, the moment we've all been waiting for:

  • -c, --vpc VPC β€” The ID of the network to which to attach the internet gateway.

πŸ”₯ SEE ALSO πŸ”₯

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


mwah, that's the whole page. πŸ’‹ this little gem comes to you courtesy of the EC2 API command line tools, version 1.6.14.1, api 2014-05-01. go attach that gateway, you absolute icon. πŸ«Άβœ¨πŸ’…

πŸ“¦ where this page comes from