Data Source: aws_vpc_dhcp_options
Retrieve information about an EC2 DHCP Options configuration.
Example Usage
Lookup by DHCP Options ID
data "aws_vpc_dhcp_options" "example" { dhcp_options_id = "dopts-12345678" }
Lookup by Filter
data "aws_vpc_dhcp_options" "example" { filter { name = "key" values = ["domain-name"] } filter { name = "value" values = ["example.com"] } }
Argument Reference
-
dhcp_options_id
- (Optional) The EC2 DHCP Options ID. -
filter
- (Optional) List of custom filters as described below.
filter
For more information about filtering, see the EC2 API documentation.
Attributes Reference
-
dhcp_options_id
- EC2 DHCP Options ID -
domain_name
- The suffix domain name to used when resolving non Fully Qualified Domain Names. e.g. thesearch
value in the/etc/resolv.conf
file. -
domain_name_servers
- List of name servers. -
id
- EC2 DHCP Options ID -
netbios_name_servers
- List of NETBIOS name servers. -
netbios_node_type
- The NetBIOS node type (1, 2, 4, or 8). For more information about these node types, see RFC 2132. -
ntp_servers
- List of NTP servers. -
tags
- A mapping of tags assigned to the resource.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/d/vpc_dhcp_options.html