dnsimple / terraform-provider-dnsimple

Terraform DNSimple provider.
https://www.terraform.io/docs/providers/dnsimple/
Mozilla Public License 2.0
22 stars 20 forks source link

Support domain contact change #155

Closed DXTimer closed 1 year ago

DXTimer commented 1 year ago

This PR reintroduces the domain contact management with a new interface.

Users can now change a domain's contact via the dnsimple_registered_resource.contact_id attribute. Once a change of contact ID is detected for a registered domain we will attempt to change the contact. Extended attributes for dnsimple_registered_resource can now be edited at any time after the domain has been registered. The attributes are also used for contact change requests.

This PR also re-introduces the dnsimple_registrant_change_check data source, which can be used to see what would be the consequences and requirements of changing a domain's contact.

This PR also comes with some fixes for boolean value comparisons in the dnsimple_registered_domain resource. In addition the sweeper utility has been updated to carry out sweeps for registrant changes and also allow for registered domain cleanups.