Skip to content

Commit a02fcf3

Browse files
CCM-6603 fixing relative paths
1 parent 77933bc commit a02fcf3

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)