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.
Use
d.SetId(...)
instead ofd.Set("id", ...)
. Moreover, the resource does not containdigest
,digest_type
andkeytag
(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.