This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
370 lines (309 loc) · 9.98 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
variable "endpoint_id" {
type = string
description = "Your marbot endpoint ID (to get this value: select a channel where marbot belongs to and send a message like this: \"@marbot show me my endpoint id\")."
}
variable "enabled" {
type = bool
description = "Turn the module on or off"
default = true
}
variable "module_version_monitoring_enabled" {
type = bool
description = "Report the module version back to marbot to notify if updates are available."
default = true
}
variable "tags" {
description = "A map of tags to add to all resources"
type = map(string)
default = {}
}
variable "permissions_boundary_policy_arn" {
description = "IAM policy ARN used as a permission boundary for all created IAM roles."
type = string
default = ""
}
variable "budget" {
type = string
description = "Monthly cost budget (static|auto_adjust|off)."
default = "static"
}
variable "budget_threshold" {
type = number
description = "Receive an alert, if your monthly AWS costs (in USD) are higher than this value (works in us-east-1 only; set to -1 to disable static budget)."
default = -1
}
variable "savings_plans_coverage_threshold" {
type = number
description = "Receive an alert, if your monthly Savings Plans coverage (in percents) is lower than this value (works in us-east-1 only; set to -1 to disable)."
default = -1
}
variable "savings_plans_utilization_threshold" {
type = number
description = "Receive an alert, if your monthly Savings Plans utilization (in percents) is lower than this value (works in us-east-1 only; set to -1 to disable)."
default = -1
}
variable "trusted_advisor" {
type = bool
description = "Receive an alert, if any Trusted Advisor check turns red (works in us-east-1 only; requires AWS Business Support or higher)."
default = true
}
variable "root_user_login" {
type = bool
description = "Receive an alert, if a root user login is performed (works in us-east-1 only)."
default = true
}
variable "cloud_watch_alarm_fired" {
type = bool
description = "Receive an alert, if any CloudWatch Alarm fires (state ALARM; instead of defining actions for each alarm)."
default = true
}
variable "cloud_watch_alarm_orphaned" {
type = bool
description = "Receive an alert, if any CloudWatch Alarm does not receive any data (state INSUFFICIENT_DATA; instead of defining actions for each alarm)."
default = false
}
variable "cloud_watch_alarm_auto_close" {
type = bool
description = "Auto-Close an alert, if any CloudWatch Alarm fires (state OK; instead of defining actions for each alarm)."
default = false
}
variable "batch_failed" {
type = bool
description = "Receive an alert, if any Batch job fails."
default = true
}
variable "code_pipeline_failed" {
type = bool
description = "Receive an alert, if any CodePipeline execution fails."
default = true
}
variable "code_build_failed" {
type = bool
description = "Receive an alert, if any CodeBuild build fails."
default = true
}
variable "code_deploy_failed" {
type = bool
description = "Receive an alert, if any CodeDeploy deployment fails."
default = true
}
variable "health_issue" {
type = bool
description = "Receive an alert, if AWS is experiencing events that may impact you."
default = true
}
variable "auto_scaling_failed" {
type = bool
description = "Receive an alert, if any EC2 instance fails to start or terminate in an Auto Scaling Group."
default = true
}
variable "guard_duty_finding" {
type = bool
description = "Receive an alert, if a GuardDuty finding is created."
default = true
}
variable "emr_failed" {
type = bool
description = "Receive an alert, if any EMR step or auto scaling policy fails."
default = true
}
variable "ebs_failed" {
type = bool
description = "Receive an alert, if any EBS snapshot fails."
default = true
}
variable "ssm_failed" { # should be called ssm_maintenance_window_Failed, but was not changed for backward compatibility
type = bool
description = "Receive an alert, if any SSM Maintenance Window execution fails."
default = true
}
variable "ssm_automation_failed" {
type = bool
description = "Receive an alert, if any SSM Automation execution fails."
default = true
}
variable "ssm_configuration_compliance_failed" {
type = bool
description = "Receive an alert, if any SSM Configuration Compliance check fails."
default = true
}
variable "ssm_command_failed" {
type = bool
description = "Receive an alert, if any SSM Command execution fails."
default = true
}
variable "ssm_state_manager_failed" {
type = bool
description = "Receive an alert, if any SSM State Manager association fails."
default = true
}
variable "rds_issue" {
type = bool
description = "Receive an alert, if any RDS issue is detected."
default = true
}
variable "glue_job_failed" {
type = bool
description = "Receive an alert, if any Glue job fails."
default = true
}
variable "ec2_spot_instance_interruption" {
type = bool
description = "Receive a notification, if any EC2 Spot instance is interrupted."
default = true
}
variable "ecs_task_failed" {
type = bool
description = "Receive an alert, if any ECS task fails."
default = true
}
variable "ecs_service_failed" {
type = bool
description = "Receive an alert, if any ECS service fails."
default = true
}
variable "ecs_deployment_failed" {
type = bool
description = "Receive an alert, if any ECS deployment fails."
default = true
}
variable "ecs_spot_interruption" {
type = bool
description = "Receive an alert, if an ECS Fargate Spot task gets interrupted or fails to launch."
default = true
}
variable "macie_finding" {
type = bool
description = "Receive an alert, if Macie generates a new finding."
default = true
}
variable "security_hub_finding" {
type = bool
description = "Receive an alert, if a SecurityHub finding is created."
default = true
}
variable "security_hub_insight" {
type = bool
description = "Receive an alert, if a SecurityHub insight is created."
default = true
}
variable "ops_works_deployment_failed" {
type = bool
description = "Receive an alert, if an OpsWorks deployment fails."
default = true
}
variable "ops_works_command_failed" {
type = bool
description = "Receive an alert, if an OpsWorks command fails."
default = true
}
variable "ops_works_instance_failed" {
type = bool
description = "Receive an alert, if an OpsWorks instance fails."
default = true
}
variable "ops_works_alert" {
type = bool
description = "Receive an alert, if OpsWorks fires an alert."
default = true
}
variable "ecr_image_scan_finding" {
type = bool
description = "Receive an alert, if a ECR Image Scan finding of severity MEDIUM, HIGH, or CRITICAL is created."
default = true
}
variable "dlm_policy_alert" {
type = bool
description = "Receive an alert, if a DLM policy fires an alert."
default = true
}
variable "iot_analytics_dataset_alert" {
type = bool
description = "Receive an alert, if an IoT Analytics dataset fires an alert."
default = true
}
variable "es_software_update_failed" {
type = bool
description = "Receive an alert, if an Elasticsearch/OpenSearch software update fails."
default = true
}
variable "backup_failed" {
type = bool
description = "Receive an alert, if AWS Backup fails."
default = true
}
variable "athena_failed" {
type = bool
description = "Receive an alert, if Athena fails."
default = true
}
variable "app_flow_failed" {
type = bool
description = "Receive an alert, if AppFlow fails."
default = true
}
variable "ec2_fleet_failed" {
type = bool
description = "Receive an alert, if EC2 (Spot) Fleet fails"
default = true
}
variable "xray_insight_update" {
type = bool
description = "Receive an alert, if X-Ray Insight detects a fault."
default = true
}
variable "code_pipeline_notifications" {
type = bool
description = "Receive a notification, if a CodePipeline pipeline succeedes."
default = true
}
variable "code_commit_pull_request_notifications" {
type = bool
description = "Receive a notification, if a CodeCommit pull request changes."
default = true
}
variable "acm_certificate_approaching_expiration" {
type = bool
description = "Receive a notification, if an ACM certificate approaches expiration."
default = true
}
variable "es_software_update_notifications" {
type = bool
description = "Receive notifications about Elasticsearch/OpenSearch software updates."
default = true
}
variable "application_auto_scaling_notifications" {
type = bool
description = "Receive notifications about Application Auto Scaling Scaling Activities."
default = true
}
variable "backup_notifications" {
type = bool
description = "Receive notifications about AWS Backup activities."
default = true
}
variable "ecs_deployment_notifications" {
type = bool
description = "Receive notifications when AWS deployments succeed."
default = true
}
variable "elastic_beanstalk_failed" {
type = bool
description = "Receive an alert, if Elastic Beanstalk fails."
default = true
}
variable "inspector2_finding" {
type = bool
description = "Receive an alert, if an Inspector2 finding is created."
default = true
}
variable "internetmonitoring_health" {
type = bool
description = "Receive an alert, if a CloudWatch Internet Monitor health event is created."
default = true
}
variable "stage" {
type = string
description = "marbot stage (never change this!)."
default = "v1"
}