Skip to content

Commit af9b20f

Browse files
committed
CCM-11751: Fixing eventpub path
1 parent 352978a commit af9b20f

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

infrastructure/modules/eventpub/archive_file_lambda.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
resource "archive_file" "lambda" {
22
type = "zip"
3-
source_dir = "${abspath("${path.module}/../../../lambda/eventpub/src")}"
3+
source_dir = "./lambda/eventpub/src"
44

55
# Timestamp in path to resolve https://github.com/hashicorp/terraform-provider-archive/issues/39
6-
output_path = "${abspath("${path.module}/../../../lambda/eventpub_${timestamp()}.zip")}"
6+
output_path = "./lambda/eventpub_${timestamp()}.zip"
77
excludes = [
88
# NodeJS Exclusions
99
"**/__tests__",

infrastructure/modules/eventpub/outputs.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,3 @@ output "s3_bucket_event_cache" {
1313
bucket = module.s3bucket_event_cache[0].bucket
1414
} : {}
1515
}
16-
17-
output "path" {
18-
value = {
19-
lambda = archive_file.lambda.source_dir
20-
}
21-
}

0 commit comments

Comments
 (0)