Skip to content

Commit 8e00bab

Browse files
Merge pull request #11 from NHSDigital/CCM-6603_FixingLambdaRelativePath
CCM-6603 fixing relative paths
2 parents 77933bc + a02fcf3 commit 8e00bab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infrastructure/modules/lambda/data_archive_file_lambda.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
data "archive_file" "lambda" {
22
type = "zip"
3-
source_dir = "${path.module}/${var.function_code_base_path}/${var.function_code_dir}"
3+
source_dir = "${path.root}/${var.function_code_base_path}/${var.function_code_dir}"
44

55
# Timestamp in path to resolve https://github.com/hashicorp/terraform-provider-archive/issues/39
66
output_path = "${path.module}/archives/${local.csi}_${timestamp()}.zip"

0 commit comments

Comments
 (0)