aws.ec2.dhcp_option_association
Deletes/disassociates association of DHCP options with VPC.
Args:
name(Text): An Idem name to identify the dhcp option resource.
vpc_id (Text): AWS VPC ID that needs to be associated with dhcp options set.
dhcp_id (Text): AWS DHCP Option Set ID.
resource_id(Text, optional): Vpc ID and DHCP Options ID with a separator '-'. Format: [dhcp_id]-[vpc_id]
Request Syntax:
[dhcp_option-name]:
aws.ec2.dhcp_option_association.absent:
- resource_id: 'string'
- vpc_id: 'string'
- dhcp_id: 'string'
- name: 'string'
Returns:
Dict[str, Any]
Examples:
.. code-block:: sls
my-dhcp-option:
aws.ec2.dhcp_option_association.absent:
- resource_id: dhcp-8dh27j-vpc-76db75b8
- vpc_id: vpc-76db75b8
- dhcp_id: dhcp-8dh27j
- name: my-dhcp-option
Lists out all DHCP Options to VPC associations.
Returns:
Dict[str, Any]
Examples:
.. code-block:: bash
$ idem describe aws.ec2.dhcp_option_association
**Autogenerated function**
Associates a set of DHCP options (that you've previously created) with the specified VPC, or associates no DHCP
options with the VPC. After you associate the options with the VPC, any existing instances and all new instances
that you launch in that VPC use the options. You don't need to restart or relaunch the instances. They automatically
pick up the changes within a few hours, depending on how frequently the instance renews its DHCP lease. You can
explicitly renew the lease using the operating system on the instance.
Args:
name(Text): An Idem name to identify the dhcp option resource.
vpc_id (Text): The list of AWS VPC ID that needs to be associated with dhcp options set.
dhcp_id (Text): AWS DHCP Option Set ID.
resource_id(Text, optional): Vpc ID and DHCP Options ID with a separator '-'. Format: [dhcp_id]-[vpc_id]
Request Syntax:
[dhcp_option-name]:
aws.ec2.dhcp_option_association.present:
- resource_id: 'string'
- vpc_id: 'string'
- dhcp_id: 'string'
- name: 'string'
Returns:
Dict[str, Any]
Examples:
.. code-block:: sls
my-dhcp-option:
aws.ec2.dhcp_option_association.present:
- resource_id: dhcp-8dh27j-vpc-76db75b8
- vpc_id: vpc-76db75b8
- dhcp_id: dhcp-8dh27j
- name: my-dhcp-option
Full plugin documentation is available on the Idem documentation site - aws.ec2.dhcp_option_association .