terraform-provider-powerdns
terraform-provider-powerdns copied to clipboard
Allow existing powerdns_records to be updated instead of destroyed & recreated
This PR modifies the powerdns_record provider to not delete and recreate records on argument change. The change is fairly minor, as PowerDNS creates and updates use the same API call this simply uses the existing resourcePDNSRecordCreate
function for updates and sets ForceNew
to false. I did not set ForceNew: false
on set_ptr
as I'm not familiar with that functionality, so I err'd on the side of safety by leaving the delete/recreate behavior.
Resolves #77