Skip to content

Commit

Permalink
tfprotov5: Document Terraform CLI 0.12 through 0.14 requirement for U…
Browse files Browse the repository at this point in the history
…pgradeResourceStateResponse.UpgradedState.Msgpack (#156)

Reference: #155
  • Loading branch information
bflad authored Feb 17, 2022
1 parent a7b46e6 commit a939840
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tfprotov5/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ type UpgradeResourceStateResponse struct {
//
// The state should be represented as a tftypes.Object, with each
// attribute and nested block getting its own key and value.
//
// Terraform CLI 0.12 through 0.14 require the Msgpack field to be
// populated or an EOF error will be returned.
UpgradedState *DynamicValue

// Diagnostics report errors or warnings related to upgrading the
Expand Down

0 comments on commit a939840

Please sign in to comment.