refined-pilot-45584
04/24/2023, 1:34 PMlimited-rainbow-51650
04/24/2023, 1:42 PMgo
binary somewhere in your PATH
for Pulumi to find it?refined-pilot-45584
04/24/2023, 1:50 PMlimited-rainbow-51650
04/24/2023, 2:03 PM/tmp/pulumi-go.4092750539
exist? Is it an executable?/tmp
is mounted? You might bump into this:
https://github.com/pulumi/pulumi/issues/11687refined-pilot-45584
04/24/2023, 3:52 PMechoing-dinner-19531
04/25/2023, 8:19 AMrefined-pilot-45584
04/25/2023, 8:37 AMechoing-dinner-19531
04/25/2023, 8:41 AMSecondly another strange thing is I get the error: “Sorry, could not create stack ‘dev’: stack ‘dev’ already exists” but specifically when running Pulumi new in a en empty folder.That might be an odd error message based on the project already existing. What does
pulumi stack ls ---all
show?
whats the max supported version of GO for Pulumi?We test with 1.19 and 1.20, and our support policy is for any version currently "in support" from upstream (i.e https://go.dev/doc/devel/release#policy)
refined-pilot-45584
04/25/2023, 9:13 AMpulumi stack ls ---all
shows all the stacks. However I am not 100% sure where they are located, some of them appear in app.pulumi.com and some do not. So I think at different times pulumi login has been set to local. .
I am also checking a few things about the GO version now. I am not sure if It’s Go related but I am using v1.21 I will try with a different version probably 1.19 to see if it’s that.echoing-dinner-19531
04/25/2023, 9:15 AMls --all
should only show from one place, it can't query the service and the local backend at the same time.
We haven't tested 1.21 yet so that could be an issue, if you find out what's wrong with it we can probably fix it up given we're gonna be supporting 1.21 once it's officially released anyway.refined-pilot-45584
04/25/2023, 12:31 PMpulumi up
command would get a permission denied error given that the file configured in the runtime args is being created by the same pulumi up
command:
runtime:
name: go
options:
buildTarget: ./build/project
error: an unhandled error occurred: command errored unexpectedly: fork/exec ./build/project: permission denied
echoing-dinner-19531
04/25/2023, 2:01 PMls -l ./build/project
and see what that says.
You could also try running with verbose logs (-v10 --logflow --logtostderr
) to see if that logs out any more information about what's going on.refined-pilot-45584
04/25/2023, 3:06 PMpulumi new gcp-go
.pulumi
folder. I can’t see a buildTarget
inside the template YAML files.echoing-dinner-19531
04/25/2023, 4:32 PMclean-zoo-67541
05/09/2023, 3:33 PMrefined-pilot-45584
05/15/2023, 12:24 PMclean-zoo-67541
05/15/2023, 12:36 PMrefined-pilot-45584
05/15/2023, 12:37 PM