-
Notifications
You must be signed in to change notification settings - Fork 4
/
vars.tf
49 lines (39 loc) · 1.15 KB
/
vars.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
variable elasticache_endpoint {
description = "AWS Elasticache endpoint to get slowqueries from"
}
variable elasticache_security_groups {
description = "AWS Elasticache Security groups to bind to"
type = list(string)
default = []
}
variable subnet_ids {
description = "Subnets to associate with VPC lambda job"
type = list(string)
}
variable vpc_id {
description = "VPC to associate with VPC lambda job"
}
variable datadog_api_key {
description = "Datadog API key"
}
variable datadog_app_key {
description = "Datadog App key"
}
variable namespace {
description = "Namespace tag to pass to datadog"
}
variable env {
description = "Env tag to pass to datadog"
}
variable metric_name {
description = "Custom metric name to pass to datadog"
default = "elasticache.slowlog"
}
variable ssm_path {
description = "Custom SSM path to provision Datadog access ID's in. Leading slash ommitted. The final SSM paths will look like: `/$ssm_path/$replication_group/DATADOG_API_KEY`"
default = "slowlog_check"
}
variable tags {
description = "Additional tags to create resources with and to send to datadog"
default = {}
}