-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
73 lines (62 loc) · 1.49 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
variable "cronitor_enabled" {
description = "Creates and enables Cronitor monitor."
type = bool
default = true
}
variable "cluster_name" {
description = "Cluster name"
type = string
}
variable "cluster_sla" {
description = "Cluster SLA"
type = string
default = "none"
}
variable "customer_name" {
description = "Customer name (Informative only)"
type = string
}
variable "suffix" {
description = "Customer name suffix (Informative only)"
type = string
default = ""
}
variable "tags" {
description = "Monitor tags (Informative only)"
type = list(string)
default = []
}
variable "api_endpoint" {
description = "Kubernetes API endpoint (Informative only)"
type = string
default = ""
}
variable "notification_lists" {
description = "Cronitor Notification lists by SLA"
type = any
default = {
high : ["default", "opsgenie-high-sla"]
low : ["default", "opsgenie-low-sla"]
none : []
}
}
variable "pagerduty_key" {
description = "Cronitor PagerDuty key"
type = string
default = ""
}
variable "timezone" {
description = "Monitor Timezone"
type = string
default = "America/Sao_Paulo"
}
variable "rule_timeout_minutes" {
description = "Time in minutes cronitor waits before issuing an alert"
type = number
default = 5
}
variable "rule_type" {
description = "Rule alerting type"
type = string
default = "run_ping_not_received"
}