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 0
/
variables.tf
98 lines (79 loc) · 3.04 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
# We can not only check the var.topic_arn !="" because of the Terraform error: The "count" value depends on resource attributes that cannot be determined until apply, so Terraform cannot predict how many instances will be created.
variable "create_topic" {
type = bool
description = "Create SNS topic? If set to false you must set topic_arn as well!"
default = true
}
variable "topic_arn" {
type = string
description = "Optional SNS topic ARN if create_topic := false (usually the output of the modules marbot-monitoring-basic or marbot-standalone-topic)."
default = ""
}
variable "stage" {
type = string
description = "marbot stage (never change this!)."
default = "v1"
}
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 "queue_name" {
type = string
description = "The SQS queue name that you want to monitor."
}
variable "approximate_age_of_oldest_message" {
type = string
description = "Old messages (static|off)."
default = "static"
}
variable "approximate_age_of_oldest_message_threshold" {
type = number
description = "The maximum age (in seconds) of a message in the queue (>= 0)."
default = 600
}
variable "approximate_age_of_oldest_message_period" {
type = number
description = "The period in seconds over which the specified statistic is applied (<= 86400 and multiple of 60)."
default = 60
}
variable "approximate_age_of_oldest_message_evaluation_periods" {
type = number
description = "The number of periods over which data is compared to the specified threshold (>= 1 and $period*$evaluation_periods <= 86400)."
default = 1
}
variable "approximate_number_of_messages_visible" {
type = string
description = "Waiting messages (static|off)."
default = "static"
}
variable "approximate_number_of_messages_visible_threshold" {
type = number
description = "The maximum number of messages in the queue waiting for processing (>= 0)."
default = 10
}
variable "approximate_number_of_messages_visible_period" {
type = number
description = "The period in seconds over which the specified statistic is applied (<= 86400 and multiple of 60)."
default = 60
}
variable "approximate_number_of_messages_visible_evaluation_periods" {
type = number
description = "The number of periods over which data is compared to the specified threshold (>= 1 and $period*$evaluation_periods <= 86400)."
default = 1
}