-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
63 lines (53 loc) · 2.27 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
variable "vpc_ids" {
description = "The list of Virtual Private Cloud IDs to monitor."
type = list(string)
}
variable "vpc_event_names" {
description = "The list of event names to monitor for each Virtual Private Cloud."
type = list(string)
default = ["DeleteVpc", "ModifyVpcAttribute", "CreateSubnet", "DeleteSubnet", "ModifySubnetAttribute", "CreateInternetGateway", "DeleteInternetGateway", "AttachInternetGateway", "DetachInternetGateway", "CreateNatGateway", "DeleteNatGateway", "CreateRouteTable", "DeleteRouteTable", "AssociateRouteTable", "DisassociateRouteTable", "CreateNetworkAcl", "DeleteNetworkAcl", "CreateNetworkAclEntry", "DeleteNetworkAclEntry", "AssociateNetworkAcl", "DisassociateNetworkAcl"]
}
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 = "VPC/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 = []
}