Why 'go vet' failing with go build.... signal: killed error?

319 Views Asked by At

We are using The Kubernetes executor for GitLab Runner, as part of GitLab CI Go vet is failing with error--go build github.com/hashicorp/cdktf-provider-aws-go/aws/v9/wafv2: /usr/local/go/pkg/tool/linux_amd64/compile: signal: killed

I tried increasing the GitLab runner memory to 16GB and tried. Then also failed.

I am not able to replicate the failure locally, so I cannot find the exact reason for the failure.

is there any way to fix this issue?

1

There are 1 best solutions below

1
On

after upgrading cdktf-provider-aws-go version to v11 and terraform-cdk-go/cdktf version to v0.14.0, build is going smooth.