Ensure CGO_ENABLED=0 is forced for cron_monitoring lambda (#15201)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user