forked from enter-at/terraform-aws-lambda-layer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
48 lines (36 loc) · 1.18 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
variable "compatible_runtimes" {
type = list(string)
description = "(Optional) A list of Runtimes this layer is compatible with. Up to 5 runtimes can be specified."
default = null
}
variable "layer_name" {
type = string
description = "(Required) A unique name for the Lambda Layer."
}
variable "description" {
type = string
description = "(Optional) Description of what the Lambda layer does."
default = null
}
variable "package_file" {
type = string
description = "(Optional) The location of the package manager config file. Can be one of (package.json, requirements.txt, Pipfile)"
default = null
}
variable "source_dir" {
type = string
description = "(Optional) The location of the Lamvda layer source code. Requires source_type to be defined."
default = null
}
variable "source_type" {
type = string
description = "(Optional) The location of the Lambda layer source type. Can be one of (nodejs, python)"
default = null
}
variable "rsync_pattern" {
type = list(string)
description = "(Optional) A list of rsync pattern to include or exclude files and directories."
default = [
"--include=*"
]
}