We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77933bc commit a02fcf3Copy full SHA for a02fcf3
1 file changed
infrastructure/modules/lambda/data_archive_file_lambda.tf
@@ -1,6 +1,6 @@
1
data "archive_file" "lambda" {
2
type = "zip"
3
- source_dir = "${path.module}/${var.function_code_base_path}/${var.function_code_dir}"
+ source_dir = "${path.root}/${var.function_code_base_path}/${var.function_code_dir}"
4
5
# Timestamp in path to resolve https://github.com/hashicorp/terraform-provider-archive/issues/39
6
output_path = "${path.module}/archives/${local.csi}_${timestamp()}.zip"
0 commit comments