infobloxopen / terraform-provider-infoblox

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

Add Authoritative Zone resource #238

Closed bsmithtm closed 4 months ago

bsmithtm commented 1 year ago

Fixes #237.

This adds a new infoblox_zone_auth resource with the functions required to create and manage them. It includes a new doc for the new resource with example usage as well.

NOTE: It depends on the following PR being merged in the infoblox-go-client, to expose the necessary Authoritative Zone fields.

bsmithtm commented 1 year ago

Hi @skudriavtsev thanks again for the review and comments!

The Update function had not been implemented in the Go Client when I originally created this PR.

Over in the matching Go Client PR I have now implemented the UpdateZoneAuth() function. Here I've implemented resourceZoneAuthUpdate() to use the new function and succeeded with our internal testing.

The fields that cannot be updated in the WAPI (fqdn and zone_format) are left out of the Update function; all other fields are updatable with this addition.

Thanks!

JkhatriInfobox commented 4 months ago

This is already supported from v2.5.0 onwards.

Hence closing this PR