-
Notifications
You must be signed in to change notification settings - Fork 7
/
variables.tf
84 lines (69 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
variable "aws_profile" {
type = string
default = null
}
variable "region" {
type = string
default = "us-west-2"
}
variable "prefix" {
type = string
description = "Cumulus stack prefix"
}
variable "desired_count" {
default = 1
}
variable "cpu" {
default = 800
}
variable "memory_reservation" {
default = 900
}
variable "cluster_arn" {}
variable "log_destination_arn" {
type = string
default = null
description = "A shared AWS:Log:Destination that receives logs in log_groups"
}
variable "docker_image" {
description = "Docker image used to generate DMRPP"
type = string
default = "ghrcdaac/dmrpp-generator:VERSION_SUB"
}
variable "volumes" {
description = "Volumes to make accessible to the container(s)"
type = list(object({ name = string, host_path = string, container_path = string }))
default = []
}
variable "enable_cw_logging" {
description = "Enable logging to cloud watch"
type = bool
default = true
}
variable "get_dmrpp_timeout" {
description = "Duration to wait on the get_dmrpp subprocess call."
type = number
default = 60
}
variable "default_log_retention_days" {
type = number
default = 30
description = "Default value that user chooses for their log retention periods"
}
# Lambda Variables
variable "cumulus_lambda_role_arn" {
type = string
default = ""
}
variable "timeout" {
description = "Lambda function time-out"
default = 900
}
variable "memory_size" {
description = "Lambda RAM limit"
default = 256
}
variable "ephemeral_storage" {
description = "Lambda /tmp storage limit"
default = 512
}