-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
161 lines (148 loc) · 4.52 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
variable "api_key" {
description = "API Key used for datadog"
default = ""
}
variable "app_key" {
description = "Datadog Application key"
default = ""
}
variable "api_url" {
description = "URL to datadog API"
default = ""
}
variable "notification_recipient" {
description = "Contact to send alerts to."
default = ""
}
variable "aws_accounts" {
description = "List of AWS account to activate the DataDog integration"
type = map
default = {
# "<AccountID>" = {
# name = "<account name>"
# }
}
}
variable "path_templates" {
description = "Path to templates outside of the module, relative to root"
default = "templates"
}
# Below "Process Monitors" which might require the DD agent to be installed and configured.
variable "monitor_processes" {
description = "A list of processes to monitor. (see also https://docs.datadoghq.com/api/?lang=bash#monitors)"
type = map
default = {}
}
variable "monitor_metrics" {
description = "A list of metrics you want to have"
type = map
default = {}
}
variable "monitor_custom" {
description = "A list of custom metrics. (see also https://docs.datadoghq.com/api/?lang=bash#monitors)"
type = map
default = {}
}
variable "monitor_forecast" {
description = "A map of forecast metrics to be monitored"
type = map
default = {}
}
variable "monitor_integration" {
description = "A map of metrics for integration"
type = map
default = {}
}
variable "monitor_network" {
description = "A map of metrics for network checks"
type = map
default = {}
}
variable "enable_default_metrics" {
description = "Toggle to enable predefined default metrics"
default = true
}
variable "aws_service_namespaces" {
default = {
api_gateway = false
application_elb = false
appstream = false
appsync = false
athena = false
auto_scaling = false
billing = false
budgeting = false
cloudfront = false
cloudhsm = false
cloudsearch = false
cloudwatch_events = false
cloudwatch_logs = false
codebuild = false
cognito = false
collect_custom_metrics = false
connect = false
crawl_alarms = false
directconnect = false
dms = false
documentdb = false
dynamodb = false
ebs = false
ec2 = false
ec2api = false
ec2spot = false
ecs = false
efs = false
elasticache = false
elasticbeanstalk = false
elasticinference = false
elastictranscoder = false
elb = false
emr = false
es = false
firehose = false
gamelift = false
glue = false
inspector = false
iot = false
kinesis = false
kinesis_analytics = false
kms = false
lambda = false
lex = false
mediaconnect = false
mediaconvert = false
mediapackage = false
mediatailor = false
ml = false
mq = false
msk = false
nat_gateway = false
neptune = false
network_elb = false
opsworks = false
polly = false
rds = false
redshift = false
rekognition = false
route53 = false
route53resolver = false
s3 = false
sagemaker = false
ses = false
shield = false
sns = false
sqs = false
step_functions = false
storage_gateway = false
swf = false
transitgateway = false
translate = false
trusted_advisor = false
usage = false
vpn = false
waf = false
wafv2 = false
workspaces = false
xray = false
}
}