FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

aws_vpc_dhcp_options

Provides a VPC DHCP Options resource.

Example Usage

Basic usage:

resource "aws_vpc_dhcp_options" "dns_resolver" {
	domain_name_servers = ["8.8.8.8", "8.8.4.4"]
}

Full usage:

resource "aws_vpc_dhcp_options" "foo" {
	domain_name = "service.consul"
	domain_name_servers = ["127.0.0.1", "10.0.0.2"]
	ntp_servers = ["127.0.0.1"]
	netbios_name_servers = ["127.0.0.1"]
	netbios_node_type = 2

	tags {
		Name = "foo-name"
	}
}

Argument Reference

The following arguments are supported:

Remarks

Attributes Reference

The following attributes are exported:

You can find more technical documentation about DHCP Options Set in the official AWS User Guide.

Import

VPC DHCP Options can be imported using the dhcp options id, e.g.

$ terraform import aws_vpc_dhcp_options.my_options dopt-d9070ebb

See the source of this document at Terraform.io