You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: variables.tf
+23-3Lines changed: 23 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -27,18 +27,38 @@ variable "build_triggers" {
27
27
}
28
28
29
29
variable"source_dir" {
30
-
description="A path to the directory which contains source files to be archived. If set to `null`, then no archive file is created."
30
+
description="A path to the directory which contains source files to be archived into a deployment package. If set to `null`, then no archive file is created."
31
31
type=string
32
+
default=null
32
33
}
33
34
34
35
variable"output_path" {
35
-
description="A path to the archive file which will be uploaded to AWS. If `source_dir` is not `null`, then a file is created at `output_path` containing the archived contents of `source_dir`."
36
+
description="A path to the deployment archive which will be uploaded to AWS. If `source_dir` is not `null`, then a file is created at `output_path` containing the archived contents of `source_dir`."
37
+
type=string
38
+
default=null
39
+
}
40
+
41
+
variable"s3_bucket" {
42
+
description="An existing S3 bucket, containing the function's deployment package. If `output_path` is also specified, the archive will be uploaded here."
43
+
type=string
44
+
default=null
45
+
}
46
+
47
+
variable"s3_key" {
48
+
description="S3 key of an object containing the function's deployment package. If `output_path` is also specified, the archive will be uploaded here."
36
49
type=string
50
+
default=null
51
+
}
52
+
53
+
variable"s3_object_version" {
54
+
description="S3 object version containing the function's deployment package."
55
+
type=string
56
+
default=null
37
57
}
38
58
39
59
variable"exclude_files" {
40
60
description=<<DESC
41
-
A list of directories or folders to ignore, e.g.
61
+
A list of source directories or folders to ignore when creating the archive, e.g.
0 commit comments