-
Notifications
You must be signed in to change notification settings - Fork 4
/
variables.tf
55 lines (49 loc) · 1.39 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
// SCHEDULES
variable "execute_orders_schedules" {
type = list(object({
description = string
schedule_expression = string
# https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html
# https://docs.aws.amazon.com/lambda/latest/dg/services-cloudwatchevents-expressions.html
}))
description = "The schedule in which to execute orders"
default = [
{
description = "At 6:00 UTC on every Friday"
schedule_expression = "cron(0 6 ? * FRI *)"
},
{
description = "At 19:45 UTC on every Wednesday"
schedule_expression = "cron(45 19 ? * WED *)"
}
]
}
variable "lambda_timeout_seconds" {
type = number
default = 300
}
// ALERTS
variable "lambda_failure_dlq_email" {
type = list(string)
description = "The Email to notify when a failed lambda execution completes"
}
variable "lambda_success_email" {
type = list(string)
description = "The Email to notify when a successful lambda execution completes"
}
// SECRETS
// Override with TF_VAR_
variable "KRAKEN_API_KEY" {
description = "The Kraken API Key"
default = "dummy"
}
variable "KRAKEN_API_SECRET" {
description = "The Kraken API Secret"
default = "dummy"
}
// GLUE
variable "glue_connections" {
type = list(string)
description = "The AWS Glue Connector for Apache Hudi"
default = ["hudi-connection3"]
}