-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathvariables.tf
65 lines (54 loc) · 1.57 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
variable "alarm_actions" {
type = list(string)
description = "A list of ARNs to notify when the alarm fires"
}
variable "enabled" {
type = bool
default = true
description = "Enables the set of alerts defined in this module"
}
variable "ok_actions" {
type = list(string)
description = "A list of ARNs to notify when the alarm returns to an OK state"
}
variable "queue_name" {
type = string
description = "The name of the SQS queue to monitor"
}
variable "queue_type" {
type = string
default = "standard"
description = "The type of SQS queue to monitor"
validation {
condition = var.queue_type == "standard" || var.queue_type == "fifo"
error_message = "The queue type value must be \"standard\" or \"fifo\""
}
}
variable "inflight_threshold" {
type = number
description = "The percentile threshold of inflight messages"
default = 80
}
variable "max_message_size" {
type = number
description = "The maximum message size supported by the queue"
}
variable "message_size_threshold" {
type = number
description = "The percentile threshold of message sizes"
default = 80
}
variable "age_of_oldest_message_threshold" {
type = number
description = "The threshold for age_of_oldest_message. Defined in seconds."
default = 300 # 5 Minutes
}
variable "evaluation_periods" {
type = number
default = 1
}
variable "period" {
type = number
description = "The period in seconds over which the specified statistic is applied"
default = 60
}