-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
58 lines (49 loc) · 2.14 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
variable "iam_event_names" {
description = "The list of event names to monitor for Identity and Access Management."
type = list(string)
default = ["DeleteGroupPolicy", "DeleteRolePolicy", "DeleteUserPolicy", "PutGroupPolicy", "PutRolePolicy", "PutUserPolicy", "CreatePolicy", "DeletePolicy", "CreatePolicyVersion", "DeletePolicyVersion", "AttachRolePolicy", "DetachRolePolicy", "AttachUserPolicy", "DetachUserPolicy", "AttachGroupPolicy", "DetachGroupPolicy", "CreateUser", "DeleteUser", "UpdateUser", "CreateGroup", "DeleteGroup", "UpdateGroup", "AddUserToGroup", "RemoveUserFromGroup"]
}
variable "cw_log_group_name" {
description = "The name of the CloudWatch log group storing CloudTrail logs."
type = string
}
variable "cw_metric_filter_namespace" {
description = "The namespace for the CloudWatch metric filter."
type = string
default = "IAM/Monitoring"
}
variable "cw_metric_filter_value" {
description = "The value to publish to the CloudWatch metric."
type = string
default = "1"
}
variable "cw_metric_filter_alarm_comparison_operator" {
description = "The comparison operator for the CloudWatch metric filter alarm."
type = string
default = "GreaterThanOrEqualToThreshold"
}
variable "cw_metric_filter_alarm_evaluation_periods" {
description = "The number of periods over which data is compared to the specified threshold."
type = number
default = 1
}
variable "cw_metric_filter_alarm_period" {
description = "The period in seconds over which the specified statistic is applied."
type = number
default = 300
}
variable "cw_metric_filter_alarm_statistic" {
description = "The statistic to apply to the alarm's associated metric."
type = string
default = "Sum"
}
variable "cw_metric_filter_alarm_threshold" {
description = "The value against which the specified statistic is compared."
type = number
default = 1
}
variable "cw_metric_filter_alarm_actions" {
description = "The list of actions to execute when the alarm transitions into an ALARM state from any other state."
type = list(string)
default = []
}