Open flyinghermit opened 1 year ago
Is it possibly because of issue with []byte
<> string
type conversion?
Here's generated schema for credential.
"credential": {
Attributes: github_com_hashicorp_terraform_plugin_framework_tfsdk.SingleNestedAttributes(map[string]github_com_hashicorp_terraform_plugin_framework_tfsdk.Attribute{
"id": {
Description: "",
Optional: true,
Type: github_com_hashicorp_terraform_plugin_framework_types.StringType,
},
"public_key_der": {
Description: "",
Optional: true,
Type: github_com_hashicorp_terraform_plugin_framework_types.StringType,
},
}),
Description: "",
Optional: true,
},
Notice PublicKeyDer
as StringType
, though that's defined as bytes
in protos.
Device credential data is not getting converted to terraform. Results in
null
state