Skip to content

Commit 4ab82ff

Browse files
committed
Revert path module change. It is needed; the issue was .zip was being ignored in .gitignore
1 parent e9f2864 commit 4ab82ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

data.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ locals {
4444
# User-provided filepaths are expected to be relative to the root module.
4545
resolved_api_lambda_zip_filepath = (
4646
var.api_lambda.zip_filepath == null
47-
? "lambda/api/api.zip"
47+
? "${path.module}/lambda/api/api.zip"
4848
: "${path.root}/${var.api_lambda.zip_filepath}"
4949
)
5050
resolved_ingest_lambda_zip_filepath = (
5151
var.ingest_lambda.zip_filepath == null
52-
? "lambda/ingest/ingest.zip"
52+
? "${path.module}/lambda/ingest/ingest.zip"
5353
: "${path.root}/${var.ingest_lambda.zip_filepath}"
5454
)
5555
resolved_pre_hook_lambda_zip_filepath = (
5656
var.pre_hook_lambda.zip_filepath == null
57-
? "lambda/pre-hook/pre-hook.zip"
57+
? "${path.module}/lambda/pre-hook/pre-hook.zip"
5858
: "${path.root}/${var.pre_hook_lambda.zip_filepath}"
5959
)
6060
}

0 commit comments

Comments
 (0)