Skip to content

Commit 345d00b

Browse files
committed
Updated README.md, made lambda build null_resource use relative path.
1 parent ec3487f commit 345d00b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Full example(s) leveraging this module is contained in the [examples](https://gi
1616

1717
```hcl
1818
module "eventbridge_debug_logger" {
19-
source = "git@github.com:seanturner026/terraform-module-eventbridge-debug-logger.git"
19+
source = "github.com/seanturner026/terraform-module-eventbridge-debug-logger.git"
2020
2121
name = "eventbridge_debug_logger"
2222
service_name = "ec2"

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 = "GOOS=linux go build -ldflags '-s -w' -o ${path.module}/lambdas/bin/${each.key} ${path.module}/lambdas/cmd/${each.key}/."
36+
command = "GOOS=linux go build -ldflags '-s -w' -o ./${path.module}/lambdas/bin/${each.key} ./${path.module}/lambdas/cmd/${each.key}/."
3737
}
3838
}

0 commit comments

Comments
 (0)