-
Notifications
You must be signed in to change notification settings - Fork 107
/
variables.tf
219 lines (178 loc) · 4.59 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
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
variable "buckets" {
type = map(object({ name = string, type = string }))
default = {}
}
variable "cmr_oauth_provider" {
type = string
}
variable "cmr_client_id" {
type = string
}
variable "cmr_environment" {
type = string
}
variable "cmr_custom_host" {
description = "Custom protocol and host to use for CMR requests (e.g. http://cmr-host.com)"
type = string
default = null
}
variable "cmr_limit" {
type = number
default = 100
}
variable "cmr_page_size" {
type = number
default = 50
}
variable "cmr_password" {
description = "The unencrypted CMR password"
type = string
default = ""
}
variable "cmr_provider" {
type = string
}
variable "cmr_username" {
type = string
}
variable "cumulus_message_adapter_lambda_layer_version_arn" {
description = "Layer version ARN of the Lambda layer for the Cumulus Message Adapter"
type = string
default = null
}
variable "custom_queues" {
description = "Map of SQS queue identifiers to queue URLs"
type = list(object({ id = string, url = string }))
default = []
}
variable "default_s3_multipart_chunksize_mb" {
description = "default S3 multipart upload chunk size in MB"
type = number
default = 256
}
variable "distribution_url" {
type = string
}
variable "dynamo_tables" {
type = map(object({ name = string, arn = string }))
}
variable "lambda_processing_role_arn" {
type = string
}
variable "lambda_subnet_ids" {
type = list(string)
default = []
}
variable "launchpad_api" {
type = string
}
variable "launchpad_certificate" {
type = string
}
variable "lzards_launchpad_certificate" {
type = string
}
variable "launchpad_passphrase" {
type = string
default = ""
}
variable "lzards_launchpad_passphrase" {
type = string
default = ""
}
variable "lzards_api" {
type = string
default = ""
}
variable "lzards_s3_link_timeout" {
description = "LZARDS S3 access link timeout (seconds)"
type = string
default = ""
}
variable "lzards_provider" {
description = "LZARDS provider name"
type = string
default = ""
}
variable "orca_lambda_copy_to_archive_arn" {
description = "AWS ARN of the ORCA copy_to_archive lambda."
type = string
default = ""
}
variable "orca_sfn_recovery_workflow_arn" {
description = "The ARN of the recovery step function."
type = string
default = ""
}
variable "permissions_boundary_arn" {
type = string
}
variable "prefix" {
type = string
}
variable "sf_event_sqs_to_db_records_sqs_queue_url" {
type = string
}
variable "sf_start_rate" {
type = number
default = null
}
variable "system_bucket" {
type = string
}
variable "tags" {
description = "Tags to be applied to managed resources"
type = map(string)
default = {}
}
variable "lambda_memory_sizes" {
description = "Configurable map of memory sizes for lambdas"
type = map(number)
default = {}
}
variable "lambda_timeouts" {
description = "Configurable map of timeouts for lambdas"
type = map(number)
default = {}
}
variable "throttled_queues" {
description = "Array of configuration for custom queues with execution limits"
type = list(object({
url = string,
execution_limit = number
}))
default = []
}
variable "vpc_id" {
type = string
default = null
}
variable "cloudwatch_log_retention_periods" {
type = map(number)
description = "Optional retention periods for the respective cloudwatch log group, these values will be used instead of default retention days"
default = {}
}
variable "default_log_retention_days" {
type = number
default = 30
description = "Optional default value that user chooses for their log retention periods"
}
variable "sqs_message_consumer_watcher_message_limit" {
type = number
default = 500
description = <<EOF
Number of messages the SQS message consumer Lambda will attempt to read from SQS in a single execution.
Note that increasing this value may result in a direct increase/decrease in triggered workflows. Users should
only adjust this value with the understanding of how it will impact the number of queued workflows in their
system.
EOF
}
variable "sqs_message_consumer_watcher_time_limit" {
type = number
default = 60
description = <<EOF
Number of seconds the SQS message consumer Lambda will remain active and polling for new messages. Note that this value
should be less than the overall Lambda invocation timeout or else the Lambda may be terminated while still actively
polling SQS. This value should be adjusted in conjunction with sqs_message_consumer_watcher_message_limit.
EOF
}