Skip to content

Commit a939840

Browse files
authored
tfprotov5: Document Terraform CLI 0.12 through 0.14 requirement for UpgradeResourceStateResponse.UpgradedState.Msgpack (#156)
Reference: #155
1 parent a7b46e6 commit a939840

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tfprotov5/resource.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ type UpgradeResourceStateResponse struct {
9898
//
9999
// The state should be represented as a tftypes.Object, with each
100100
// attribute and nested block getting its own key and value.
101+
//
102+
// Terraform CLI 0.12 through 0.14 require the Msgpack field to be
103+
// populated or an EOF error will be returned.
101104
UpgradedState *DynamicValue
102105

103106
// Diagnostics report errors or warnings related to upgrading the

0 commit comments

Comments
 (0)