forked from DNXLabs/terraform-aws-cloudtrail-notification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_variables.tf
40 lines (32 loc) · 1.02 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
variable "enabled" {
description = "The boolean flag whether this module is enabled or not. No resources are created when set to false."
default = true
}
variable "lambda_name" {
description = "The name of the lambda which will be notified with a custom message when any alarm is performed."
default = "lambda_alarm_notification"
}
variable "cloudtrail_log_group_name" {
description = "The name of the loggroup that will get information from"
}
variable "lambda_timeout" {
description = "Set lambda Timeout"
default = 3
}
variable "sns_topic_name" {
description = "The name of the SNS Topic which will be notified when any alarm is performed."
default = "CISAlarmV2"
}
variable "alarm_account_ids" {
default = []
}
variable "alarm_mode" {
default = "light"
description = "Version of alarms to use. 'light' or 'full' available"
}
variable "tags" {
description = "Specifies object tags key and value. This applies to all resources created by this module."
default = {
"Terraform" = true
}
}