I just created a new project using the wizard on t...
# pulumi-deployments
g
I just created a new project using the wizard on the website, after opening a fresh account. I chose "Go" as language, "AWS" as cloud provider. It says this
Copy code
$ /pulumi-deploy-executor pulumi update --stackIdentity="pinpayments/vm-aws-go/dev" --workDir="/deployment/vm-aws-go" 
2Updating (pinpayments/dev) 
3 
4 View Live: <https://app.pulumi.com/pinpayments/vm-aws-go/dev/updates/3> 
5 
6 @ Updating............................ 
7 
8 @ Updating............ 
9    pulumi:pulumi:Stack vm-aws-go-dev  go: <http://github.com/gogo/protobuf@v1.3.2|github.com/gogo/protobuf@v1.3.2> requires 
10   pulumi:pulumi:Stack vm-aws-go-dev  	<http://github.com/kisielk/errcheck@v1.5.0|github.com/kisielk/errcheck@v1.5.0>: missing go.sum entry for go.mod file; to add it: 
11   pulumi:pulumi:Stack vm-aws-go-dev  	go mod download <http://github.com/kisielk/errcheck|github.com/kisielk/errcheck> 
12     pulumi:pulumi:Stack vm-aws-go-dev  error: error in compiling Go: unable to run `go build`: exit status 1 
13     pulumi:pulumi:Stack vm-aws-go-dev **failed** 1 error; 3 messages 
14 Diagnostics: 
15   pulumi:pulumi:Stack (vm-aws-go-dev): 
16     go: <http://github.com/gogo/protobuf@v1.3.2|github.com/gogo/protobuf@v1.3.2> requires 
17     	<http://github.com/kisielk/errcheck@v1.5.0|github.com/kisielk/errcheck@v1.5.0>: missing go.sum entry for go.mod file; to add it: 
18     	go mod download <http://github.com/kisielk/errcheck|github.com/kisielk/errcheck> 
19  
20     error: error in compiling Go: unable to run `go build`: exit status 1 
21  
22 Resources: 
23  
24 Duration: 10s 
25  
26 Error: Update failed: [resource plugin aws-6.0.2] installing
b
Could you file an issue for this please? https://github.com/pulumi/pulumi-cloud-requests it looks like we need to run
go mod tidy
. You can fix this by cloning the repo you created and running it locally, then committing the changes
g
l
@gifted-gigabyte-53859 thanks for reporting and we're working on getting this fixed, in the mean time you can fix in one of two ways: 1. pull down the code, run
go mod tidy
and push a commit into the repo 2. or add a prerun command in the deployment settings
go mod tidy
as shown in the screenshot below
g
Done, thanks.