EC2-ASSOCIATE-DHCP-OPTIONS(1)

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

πŸ’– EC2-ASSOCIATE-DHCP-OPTIONS πŸ’–

okay bestie, welcome to the section 1 user commands girlies β€” this one lives in the EC2 API command line tools family and she's here to help you associate dhcp options to a VPC. no cap. πŸ¦‹


✨ NAME ✨

ec2-associate-dhcp-options β€” associate dhcp options to a VPC πŸŽ€


✨ SYNOPSIS ✨

ec2assocdopt ([ec2-associate-dhcp-options])
ec2assocdopt [GENERAL OPTIONS] { DHCP_OPTIONS | default } -c VPC

like… two whole ways to call her, pick your fighter πŸ’…


✨ GENERAL NOTES ✨

so literally any command option or parameter can be handed a value of - β€” and that's the signal that the values for that option should be read from stdin instead. cute, right? 🫢


✨ DESCRIPTION ✨

she associates a set of DHCP options that you've previously created with the specified VPC. the DHCP_OPTIONS parameter is the DHCP options you want to associate with the VPC, or you can just say default to associate the default DHCP options. it's giving "just pick one, queen". πŸ‘‘


✨ GENERAL OPTIONS ✨

  • -O, --aws-access-key KEY β€” your AWS Access Key ID. defaults to the value of the AWS_ACCESS_KEY environment variable (if it's set). πŸ”‘
  • -W, --aws-secret-key KEY β€” your AWS Secret Access Key. defaults to the value of the AWS_SECRET_KEY environment variable (if it's set). 🀫
  • -T, --security-token TOKEN β€” AWS delegation token. defaults to the value of the AWS_DELEGATION_TOKEN environment variable (if it's 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 it's 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 it's set). overrides the default. πŸ’€
  • -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 it's 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 is not set. πŸ—ΊοΈ
  • -D, --auth-dry-run β€” check if you can perform the requested action rather than actually performing it. it's a vibe check, not a commitment. βœ‹
  • -v, --verbose β€” verbose output. she talks more. πŸ—£οΈ
  • -?, --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 ✨

  • -c, --vpc VPC β€” the ID of the VPC you want to associate the DHCP options with. this one's mandatory, bestie, she's the whole point 🎯

✨ SEE ALSO ✨


ngl the -K and -C flags are marked [DEPRECATED] β€” they're still documented but they're lowkey giving "we don't do this anymore", so don't build your whole personality around them 🫠

okay that's the whole page, periodt πŸ’… this was the EC2 API command line tools manual, version 1.6.14.1, api=2014-05-0, and yes she's a lil vintage but she ate. mwah, go associate some DHCP options, you've got this πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from