We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 352978a commit af9b20fCopy full SHA for af9b20f
2 files changed
infrastructure/modules/eventpub/archive_file_lambda.tf
@@ -1,9 +1,9 @@
1
resource "archive_file" "lambda" {
2
type = "zip"
3
- source_dir = "${abspath("${path.module}/../../../lambda/eventpub/src")}"
+ source_dir = "./lambda/eventpub/src"
4
5
# Timestamp in path to resolve https://github.com/hashicorp/terraform-provider-archive/issues/39
6
- output_path = "${abspath("${path.module}/../../../lambda/eventpub_${timestamp()}.zip")}"
+ output_path = "./lambda/eventpub_${timestamp()}.zip"
7
excludes = [
8
# NodeJS Exclusions
9
"**/__tests__",
infrastructure/modules/eventpub/outputs.tf
@@ -13,9 +13,3 @@ output "s3_bucket_event_cache" {
13
bucket = module.s3bucket_event_cache[0].bucket
14
} : {}
15
}
16
-
17
-output "path" {
18
- value = {
19
- lambda = archive_file.lambda.source_dir
20
- }
21
-}
0 commit comments