Closed danielcompton closed 1 year ago
@danielcompton my best guess is that you're right, Terraform is trying to send an update but in this case we can't accept the update as you are effectively creating a record for a different domain name (if I understand correct).
The provider should instead either forbit the operation, or automatically delete the records and re-create them in the new domain.
I think delete and recreate is the right behaviour here?
I am closing this ticket as it is specific to a validation error. We've made changes to surface the errors, so next time it will be easier to understand the specific issue.
Terraform Version
Terraform v0.10.7
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Actual Behavior
I got an error
I suspect what may be happening is that the provider is detecting a change and trying to do a PATCH, but a PATCH is only valid if the value is changing, not if the name is changing.
References
Possibly related to https://github.com/terraform-providers/terraform-provider-dnsimple/issues/1?