Skip to content

MsgPack encoding issue after upgrading to v0.5.0 #133

@alexsomesan

Description

@alexsomesan

terraform-plugin-go version

v0.5.0

Relevant provider source code

// insert code here

Terraform Configuration Files

# insert config here

Expected Behavior

Provider should work the same as with versions of terraform-plugin-go prior to v0.5.0

Actual Behavior

Error: ["manifest"]: msgpack: invalid code=84 decoding array length

Steps to Reproduce

Build the Kuberentes provider from the update-sdk branch and setup dev overrides for the binary.

Run terraform plan in any of the examples for the kubernetes_manifest resource.

The issue arises in the Terraform process on the return path from PlanResourceChange when decoding the response value. The issue is present even if no manipulation of the proposed plan is done in the provider (simply looping back the proposed plan).

References

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions