tf-oci-ans-selfhost-dev/terraform_plans/network-dhcp.tf
2023-07-31 10:48:44 -04:00

20 lines
547 B
HCL

# Source from https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_dhcp_options
resource "oci_core_dhcp_options" "dhcp-options" {
compartment_id = oci_identity_compartment.tf-playground.id
vcn_id = module.vcn.vcn_id
display_name = "tf-playground-dhcp-options"
freeform_tags = var.tags
options {
type = "DomainNameServer"
server_type = "VcnLocalPlusInternet"
}
options {
type = "SearchDomain"
search_domain_names = ["tf-playground.oraclevcn.com"]
}
}