cannot use cty.Value{} (value of type cty.Value) as gob.GobEncoder value in variable declaration: cty.Value does not implement gob.GobEncoder (missing method GobEncode) #261
Labels
bug
Something isn't working
When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.
Overview of the Issue
When attempt
go build
I am getting the following error:....\go\pkg\mod\github.com\hashicorp\[email protected]\rpc\init.go:21:24: cannot use cty.Value{} (value of type cty.Value) as gob.GobEncoder value in variable declaration: cty.Value does not implement gob.GobEncoder (missing method GobEncode)
Reproduction Steps
go build
Packer Plugin SDK version
0.5.4
Operating system and Environment details
OS Microsoft Windows 10.0.22631
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Log Fragments and crash.log files
PS {project path}> go build
github.com/michaeldcanady/packer-plugin-communicator/internal/communicator
internal\communicator\provisioner.go:27:18: p.config.FlatMapstructure undefined (type Config has no field or method FlatMapstructure)
github.com/hashicorp/packer-plugin-sdk/rpc
....\go\pkg\mod\github.com\hashicorp\[email protected]\rpc\init.go:21:24: cannot use cty.Value{} (value of type cty.Value) as gob.GobEncoder value in variable declaration: cty.Value does not implement gob.GobEncoder (missing method GobEncode)
The text was updated successfully, but these errors were encountered: