-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
97 lines (79 loc) · 1.63 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
variable "function_name" {
type = string
}
variable "package_type" {
type = string
default = "Image"
}
variable "cloudwatch_logs" {
description = "Set this to false to disable logging your lambda output to Cloudwatch logs"
type = bool
default = true
}
variable "policy" {
description = "An additional policy to attach to the lambda function role"
type = object({
json = string
})
default = null
}
variable "trusted_entities" {
description = "lambda function additional trusted entities for assuming roles (trust relationship)"
type = list(string)
default = []
}
variable "description" {
type = string
default = null
}
variable "kms_key_arn" {
type = string
default = null
}
variable "memory_size" {
type = number
default = null
}
variable "reserved_concurrent_executions" {
type = number
default = null
}
variable "tags" {
type = map(string)
default = null
}
variable "timeout" {
type = number
default = 3
}
variable "dead_letter_config" {
type = object({
target_arn = string
})
default = null
}
variable "environment" {
type = object({
variables = map(string)
})
default = null
}
variable "vpc_config" {
type = object({
security_group_ids = list(string)
subnet_ids = list(string)
})
default = null
}
variable "enabled" {
description = "Enable or disable the lambda resource"
type = bool
default = true
}
variable "image_uri" {
description = "URI of container image in ECR"
type = string
}
variable "log_retention_days" {
description = "Amount of says logs are kept in cloudwatch logs"
}