hashicorp / terraform-provider-infoblox

This provider has moved to https://github.com/infobloxopen/terraform-provider-infoblox
https://github.com/infobloxopen/terraform-provider-infoblox
Mozilla Public License 2.0
12 stars 22 forks source link

Host record incorrectly has configured for DHCP set to true #31

Open 53d117460ec63d70 opened 4 years ago

53d117460ec63d70 commented 4 years ago

When creating a host recording using infoblox_ip_allocation the created record usage is DNS/DHCP. There doesn't appear to be a way to stop DHCP usage from being set. An effect of this is that grid services need to be restarted. Here is my resource config:

resource "infoblox_ip_allocation" "demo_allocation" {
  vm_name   = "test"
  cidr      = "10.x.x.x/24"
  tenant_id = "test"
  enable_dns = true
  # required for host record
  zone    = "test.co.uk"
  dns_view = "default"
}
AliaksandrDziarkach commented 4 years ago

This is the NIOS behavior. To fix it support for host record ip address option "configure_for_dhcp" should be added to the infoblox-go-client.

sandeep444033 commented 4 years ago

I am too interested in this fix, as I am facing the similar issue.