Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking changes in go-cty #138

Closed
outscale-mdr opened this issue Apr 11, 2023 · 1 comment · Fixed by #156
Closed

Breaking changes in go-cty #138

outscale-mdr opened this issue Apr 11, 2023 · 1 comment · Fixed by #156

Comments

@outscale-mdr
Copy link
Contributor

In v1.11.0 of github.com/zclconf/go-cty, encoding/gob support was removed from the package. The Packer plugin SDK relies on gob for supporting HCL2 templates. The removal of the encoding causes Packer to crash when using HCL2 templates.

The team and I are working internally to find the best path forward, as a change to the wire protocol from gob will introduce a breaking change and plugin incompatibilities. We are working to notify plugin developers of the incompatible go-cty package and ask that all external plugins pin the versions of the following two packages to those used by the Packer plugin SDK.

github.com/hashicorp/hcl/v2 v2.13.0
github.com/zclconf/go-cty v1.10.0

@outscale-mdr outscale-mdr changed the title breaking changes in go-cty Breaking changes in go-cty Apr 11, 2023
@outscale-toa
Copy link
Member

Fixed on #156

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants