-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
120 lines (100 loc) · 2.78 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
variable "environment_name" {
type = string
description = "Environment name: dev, qa, prod"
}
variable "bucket_arns" {
type = list(string)
description = "A list of s3 bucket ARNs"
}
variable "aws_region" {
type = string
description = "AWS Region"
}
variable "dd_site" {
type = string
description = "The Datadog Site Address"
}
variable "datadog_forwarder_version" {
type = string
description = "The Datadog Forwarder version to use"
default = "3.121.0"
}
variable "runtime" {
type = string
description = "The version of the runtime to use"
default = "3.11"
}
variable "tags" {
type = map(string)
description = "Tags to assign to resources created by this module"
}
variable "retention" {
type = number
description = "The log group retention in days"
default = 30
}
variable "provision_trigger" {
type = bool
description = "Whether or not to create a lambda trigger from an SNS topic"
default = "false"
}
variable "sns_topic_arns" {
type = list(string)
description = "SNS Topic ARNs"
default = ["undefined"]
}
variable "timeout" {
type = number
description = "The length of time in seconds before function times out"
default = 120
}
variable "memory_size" {
type = number
description = "Amount of memory in MB your Lambda Function can use at runtime"
default = 1024
}
variable "reserved_concurrent_executions" {
type = number
description = "Amount of reserved concurrent executions for this lambda function"
default = 100
}
variable "enhanced_metrics" {
type = bool
description = "Whether Datadog enhanced metrics is enabled"
default = false
}
variable "layers" {
type = bool
description = "Whether or not to use layers"
default = false
}
variable "datadog_python_layer_version" {
type = number
description = "The version of the Datadog Python Layer"
default = 98
}
variable "datadog_extension_layer_version" {
type = number
description = "The version of the Datadog Extension Layer"
default = 64
}
variable "rds_logs" {
type = bool
description = "Whether to create lambda resource policy for sending all /aws/rds/* cloudwatch logs to the datadog log forwarder"
default = true
}
variable "store_failed_events" {
type = bool
description = "Whether to store failed events in the log forwarder"
default = true
}
variable "exclude_logs_regex" {
type = string
description = "Regex pattern to exclude logs from forwarding to Datadog"
default = "\"(START|END) RequestId:\\s"
}
variable "log_group_names" {
type = map(any)
description = "A map of log group names to create lambda subscriptions for"
default = {}
}