-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
162 lines (133 loc) · 3.33 KB
/
Copy pathvariables.tf
File metadata and controls
162 lines (133 loc) · 3.33 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
variable "allowed_triggers" {
description = "Map of allowed triggers to create Lambda permissions"
type = map(any)
default = {}
}
variable "env_vars_from_parameter_store" {
description = "Lambda environment variables from SSM parameter store"
type = map(any)
default = {}
}
variable "function_url" {
description = "Create lambda function url"
type = bool
default = false
}
variable "function_url_cors" {
description = "Function url cors"
type = any
default = {}
}
variable "description" {
description = "Lambda function description"
default = null
}
variable "environment_variables" {
type = map(any)
description = "Environment Variables for Lambda Functions"
default = {}
}
variable "function_name" {
description = "Lambda function name"
}
variable "handler" {
description = "Name of Handler"
default = null
}
variable "image_uri" {
description = "uri of image"
default = null
}
variable "package_type" {
description = "type of package"
default = null
}
variable "s3_bucket" {
description = "Lambda artifacts bucket"
default = ""
}
variable "lambda_memory" {
description = "Required Memory for Lambda function"
default = 128
}
variable "lambda_runtime" {
description = "Lambda language"
default = null
}
variable "layers_arn" {
description = "Lambda layer arn"
type = list(string)
default = null
}
variable "lambda_timeout" {
description = "Required Timeout for Lambda function"
default = 5
}
variable "publish" {
description = "Publish lambda function version"
default = false
}
variable "security_group_ids" {
description = "Security geoup id"
type = list(any)
default = null
}
variable "subnets" {
description = "Subnets"
type = list(any)
default = null
}
variable "logs_retention" {
description = "Specifies the number of days you want to retain log events in the specified log group"
type = number
default = null
}
variable "prefix" {
description = "Prefix for resources"
type = string
default = ""
}
variable "s3_key" {
description = "Path of the zip file which is present in s3 bucket"
default = ""
}
variable "source_file" {
description = "Lambda source file"
default = ""
}
variable "output_path" {
description = "The name for the zip file created with the file described in source_file"
default = ""
}
variable "tags" {
description = "Tags"
default = {}
}
variable "tracing_mode" {
description = "Tracing mode of the Lambda Function. Valid value can be either PassThrough or Active."
type = string
default = null
}
variable "image_config_entry_point" {
description = "The ENTRYPOINT for the docker image"
type = list(string)
default = []
}
variable "image_config_command" {
description = "The CMD for the docker image"
type = list(string)
default = []
}
variable "image_config_working_directory" {
description = "The working directory for the docker image"
type = string
default = null
}
############################################
# Lambda Event Source Mapping
############################################
variable "event_source_mapping" {
description = "Map of event source mapping"
type = any
default = {}
}