We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 130a807 commit 951c5bbCopy full SHA for 951c5bb
main.tf
@@ -8,7 +8,7 @@
8
*/
9
data "archive_file" "zip_file_for_lambda" {
10
type = "zip"
11
- output_path = "${var.name}.zip"
+ output_path = "${var.local_file_dir}/${var.name}.zip"
12
13
dynamic "source" {
14
for_each = distinct(flatten([
variables.tf
@@ -26,6 +26,11 @@ variable file_globs {
26
description = "list of files or globs that you want included from the lambda_code_source_dir"
27
}
28
29
+variable local_file_dir {
30
+ description = "A path to the directory to store plan time generated local files"
31
+ default = "."
32
+}
33
+
34
variable runtime {
35
description = "The runtime of the lambda function"
36
default = "nodejs10.x"
0 commit comments