infobloxopen / terraform-provider-infoblox

Infoblox NIOS Terraform Provider
https://github.com/infobloxopen/terraform-provider-infoblox
Mozilla Public License 2.0
73 stars 80 forks source link

Add Authoritative Zone resource #237

Closed bsmithtm closed 7 months ago

bsmithtm commented 2 years ago

Context

The current provider and Go Client do not offer the ability to manage Authoritative DNS Zones in Infoblox. This would be very useful for teams that want to manage DNS in Infoblox alongside all their other infrastructure being created in Terraform.

The Authoritative Zone resource and fields are already present in the Infoblox NIOS API, they just aren't exposed in the Go Client or Terraform Provider yet.

Proposed Changes

Add a new schema for an infoblox_zone_auth resource that includes the relevant fields, and the requisite functions to create and manage the resource.

Example Usage

resource "infoblox_zone_auth" "prod123_zone" {
  fqdn              = "prod123.example.com"
  ns_group          = "Prod_NS_Group"
  restart_if_needed = true
  comment           = "Managed by Terraform"
  soa_default_ttl   = 3600
  soa_expire        = 2419200
  soa_negative_ttl  = 900
  soa_refresh       = 10800
  soa_retry         = 3600
}

Related Work

To enable this feature in the provider, we've also submitted an Issue and PR to the infoblox-go-client to enable the relevant fields on Authoritative Zone resources.

dmpe commented 1 year ago

Yes please. that would be indeed very much welcome.

dmpe commented 1 year ago

I think this can be closed due to recently merging this PR: https://github.com/infobloxopen/terraform-provider-infoblox/pull/317.

JkhatriInfobox commented 7 months ago

As it is already merged as in PR #317, Hence closing the issue