https://pulumi.com logo
#golang
Title
# golang
l

late-chef-72896

03/07/2024, 8:22 AM
Hi, is anyone here using golang workspaces to work with external modules locally? When I configure a Pulumi project to use an "external" module (containing Pulumi components) I get the following error when running a
pulumi preview
e

echoing-dinner-19531

03/07/2024, 8:35 AM
We use workspaces a lot, but somehow you look like you've got the pulumi sdk code included into the project at two different versions.
l

late-chef-72896

03/07/2024, 8:39 AM
yeah, that thought crossed my mind as well. Thanks for the pointer, I'm going to have a look
as you said @echoing-dinner-19531. I had the following imported
<http://github.com/pulumi/pulumi/sdk/go/pulumi/config|github.com/pulumi/pulumi/sdk/go/pulumi/config>
which has a conflict with
<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi|github.com/pulumi/pulumi/sdk/v3/go/pulumi>
it is working now. Thanks!
e

echoing-dinner-19531

03/07/2024, 12:28 PM
Nice, glad that pointer helped