github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/website/source/docs/providers/aws/r/vpc_dhcp_options_association.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_vpc_dhcp_options_association"
     4  sidebar_current: "docs-aws-resource-vpc-dhcp-options-association"
     5  description: |-
     6    Provides a VPC DHCP Options Association resource.
     7  ---
     8  
     9  # aws\_vpc\_dhcp\_options\_<wbr>association
    10  
    11  Provides a VPC DHCP Options Association resource.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "aws_vpc_dhcp_options_association" "dns_resolver" {
    17  	vpc_id = "${aws_vpc.foo.id}"
    18  	dhcp_options_id = "${aws_vpc_dhcp_options.foo.id}"
    19  }
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `vpc_id` - (Required) The ID of the VPC to which we would like to associate a DHCP Options Set.
    27  * `dhcp_options_id` - (Required) The ID of the DHCP Options Set to associate to the VPC.
    28  
    29  ## Remarks
    30  * You can only associate one DHCP Options Set to a given VPC ID.
    31  * Removing the DHCP Options Association automatically sets AWS's `default` DHCP Options Set to the VPC.
    32  
    33  ## Attributes Reference
    34  
    35  The following attributes are exported:
    36  
    37  * `id` - The ID of the DHCP Options Set Association.