You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to go, my understanding of this error message is that somewhere in my code it is registering from the /vendor and somewhere it is getting the absolute path.
It looks like your program is importing cty from two different locations... possibly once from the alicloud provider's vendor directory and once directly from your GOPATH.
This library expects to be included in the program only at one import path, because it registers itself with the encoding/gob package.
It looks like perhaps you are compiling the alicloud provider in "GOPATH mode", which is the mode from before Go Modules was introduced in Go 1.11 and is still the default for backward compatibility. You might get better results if you force Go to use the Go Modules mode by setting this environment variable:
GO111MODULE=on
The Terraform providers and this cty library are both Go Modules codebases, and so they may not build correctly in GOPATH mode.
I am new to go, my understanding of this error message is that somewhere in my code it is registering from the
/vendor
and somewhere it is getting the absolute path.Is there a way to not make it panic?
Why is
cty.primitiveType != cty.primitiveType
?The text was updated successfully, but these errors were encountered: