Retrieve information about an EC2 DHCP Options configuration.
data "aws_vpc_dhcp_options" "example" {
dhcp_options_id = "dopts-12345678"
}
data "aws_vpc_dhcp_options" "example" {
filter {
name = "key"
values = ["domain-name"]
}
filter {
name = "value"
values = ["example.com"]
}
}
dhcp_options_id - (Optional) The EC2 DHCP Options ID. filter - (Optional) List of custom filters as described below. For more information about filtering, see the EC2 API documentation.
dhcp_options_id - EC2 DHCP Options ID domain_name - The suffix domain name to used when resolving non Fully Qualified Domain Names. e.g. the search 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