digitalocean / packer-plugin-digitalocean

Packer plugin for DigitalOcean Builder
https://developer.hashicorp.com/packer/integrations/digitalocean/digitalocean
Mozilla Public License 2.0
20 stars 12 forks source link

dependabot: ignore go-cty updates. #91

Closed andrewsomething closed 1 year ago

andrewsomething commented 1 year ago

Following the recommendation of the Packer team, this is pinning the versions of github.com/hashicorp/hcl/v2 and github.com/zclconf/go-cty by telling dependabot to suspend updates for them.

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

https://github.com/digitalocean/packer-plugin-digitalocean/pull/90#issuecomment-1503017337

I have added godo to the allow list as well since I was in here already.