Skip to content

Commit 7540d87

Browse files
committed
Fixed path error
1 parent 0a7f96f commit 7540d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

r_null.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ resource "null_resource" "lambda_build" {
3333
}
3434

3535
provisioner "local-exec" {
36-
command = "cd ${local.main_module_path} && GOOS=linux go build -ldflags '-s -w' -o ./${path.module}/lambdas/bin/${each.key} ./${path.module}/lambdas/cmd/${each.key}/."
36+
command = "cd ${local.main_module_path} && GOOS=linux go build -ldflags '-s -w' -o ./lambdas/bin/${each.key} ./lambdas/cmd/${each.key}/main.go"
3737
}
3838
}

0 commit comments

Comments
 (0)