happy-kitchen-33409
12/05/2024, 1:15 AMgo: go.mod file not found in current directory or any parent directory
My project runtime config is like this
runtime:
name: go
options:
binary: ./some-binary
happy-kitchen-33409
12/05/2024, 1:51 AMhallowed-photographer-31251
12/05/2024, 5:02 PMhappy-kitchen-33409
12/05/2024, 5:47 PMgo.mod
file.
And I was able to make it happy with an empty go.mod filehappy-kitchen-33409
12/05/2024, 5:48 PMpulumi install
(without the go.mod) fails with the same error
❯ pulumi install
Installing dependencies...
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
error: installing dependencies: `go mod tidy` failed to install dependencies: exit status 1
pulumi install (without go.mod) fails with the same error.
My guess is, the pulumi k8s controller called an unnecessary install.
It should probably skip that if the project sets the binary...hallowed-photographer-31251
12/05/2024, 5:54 PM