Does this documenation exist?
Where would you expect to find this documentation?
Description
When running a protocol version 5 server via tf5server (or via tf6to5server), Terraform CLI 0.12 through 0.14 return an error such as:
provider_test.go:11: Step 1/1 error: Error running post-apply plan: exit status 1
Error: EOF
(Yes, that's it.) If UpgradeResourceState.Response.UpgradedState has the JSON field, but not Msgpack. We should document this requirement in the protocol version 5 definition and/or UpgradeResourceStateResponse type.
Discovered because terraform-plugin-framework only passes through the JSON field and ignores the Msgpack in its placeholder UpgradeResourceState handling.
References
Does this documenation exist?
Where would you expect to find this documentation?
Description
When running a protocol version 5 server via
tf5server(or viatf6to5server), Terraform CLI 0.12 through 0.14 return an error such as:(Yes, that's it.) If
UpgradeResourceState.Response.UpgradedStatehas theJSONfield, but notMsgpack. We should document this requirement in the protocol version 5 definition and/orUpgradeResourceStateResponsetype.Discovered because terraform-plugin-framework only passes through the
JSONfield and ignores theMsgpackin its placeholderUpgradeResourceStatehandling.References