-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
55 lines (45 loc) · 992 Bytes
/
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
49
50
51
52
53
54
55
variable "s3_key" {
type = string
description = "S3 Key of the Source Artifact"
}
variable "s3_bucket" {
type = string
description = "S3 Bucket w/ Lambda Artifact Resides in"
}
variable "handler" {
type = string
description = "Java entrypoint for the function"
}
variable "runtime" {
type = string
default = "java11"
}
variable "name" {
type = string
description = "Unique name of the lambda function"
}
variable "policy_json" {
type = string
description = "Policy to apply to the function"
}
variable "schedule_expression" {
type = string
description = "Schedule CRON to run the function(UTC)"
}
variable "timeout" {
type = number
description = "Timeout in sec of the function"
default = 60
}
variable "tags" {
type = map(string)
default = {}
}
variable "environment_variables" {
type = map(string)
default = {}
}
variable "memory_size" {
type = number
default = 1024
}