go-gandi / terraform-provider-gandi

Terraform provider for the Gandi Domain services
Mozilla Public License 2.0
152 stars 46 forks source link

Fix DNSSEC resource import #82

Closed vincentbernat closed 2 years ago

vincentbernat commented 2 years ago

Use d.SetId(...) instead of d.Set("id", ...). Moreover, the resource does not contain digest, digest_type and keytag (they are contained in the public key). If one wishes to get them, they should use a data source instead.

I have tested on top of the v2 branch, so maybe this was not needed with SDK v1.