-
Notifications
You must be signed in to change notification settings - Fork 16
/
inputs.tf
128 lines (121 loc) · 3.48 KB
/
inputs.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# Sumo Logic Monitors
variable "monitor_name" {
type = string
description = "Monitor Name"
}
variable "monitor_parent_id" {
type = string
description = "The ID of the Monitor Folder that contains this monitor."
default = null
}
variable "monitor_description" {
type = string
description = "The description of the monitor."
default = ""
}
variable "monitor_monitor_type" {
type = string
description = "The type of monitor, Logs or Metrics. Default Logs"
default = "Logs"
}
variable "monitor_slo_type" {
type = string
description = "The type of Slo, Sli or BurnRate. Required if Monitor Type is Slo."
default = null
}
variable "monitor_slo_id" {
type = string
description = "Slo Id. Required if Monitor Type is Slo."
default = null
}
variable "monitor_evaluation_delay" {
type = string
description = "Evaluation Delay."
default = "0m"
}
variable "monitor_is_disabled" {
type = bool
description = "Whether or not the monitor is disabled. Default false."
default = false
}
variable "group_notifications" {
type = bool
description = "Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true."
default = true
}
variable "queries" {
type = map
description = "All queries for the monitor."
default = null
}
variable "triggers" {
type = list(object(
{
threshold_type = string,
threshold = number,
time_range = string,
occurrence_type = string,
trigger_source = string,
trigger_type = string,
detection_method = string
}
))
description = "Triggers for alerting."
default = null
}
variable "slo_burnrate_triggers" {
type = list(object(
{
threshold = number,
time_range = string,
trigger_type = string,
}
))
description = "Triggers for SLO Burn Rate alerting."
default = null
}
variable "slo_sli_triggers" {
type = list(object(
{
threshold = number,
trigger_type = string,
}
))
description = "Triggers for SLO Sli alerting."
default = null
}
variable "connection_notifications" {
type = list(object(
{
connection_type = string,
connection_id = string,
payload_override = string,
run_for_trigger_types = list(string)
}
))
description = "Connection Notifications to be sent by the alert."
}
variable "email_notifications" {
type = list(object(
{
connection_type = string,
recipients = list(string),
subject = string,
time_zone = string,
message_body = string,
run_for_trigger_types = list(string)
}
))
description = "Email Notifications to be sent by the alert."
}
variable "monitor_permission" {
type = list(object(
{
subject_type = string,
subject_id = string,
permissions = list(string)
}
))
description = "An monitor_permission is used to control permissions Explicitly associated with a Monitor"
default = []
}