Ensure CGO_ENABLED=0 is forced for cron_monitoring lambda (#15201)

This commit is contained in:
Robert Fairburn
2023-11-22 11:12:09 -06:00
committed by GitHub
parent 695ad26cb7
commit ccd7ae82e5
+1 -1
View File
@@ -286,7 +286,7 @@ resource "null_resource" "cron_monitoring_build" {
working_dir = "${path.module}/lambda"
command = <<-EOT
go get
GOOS=linux GOARCH=amd64 go build -tags lambda.norpc -o bootstrap main.go
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -tags lambda.norpc -o bootstrap main.go
EOT
}
}