generated from kabisa/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
68 lines (56 loc) · 2.02 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
variable "filter_str" {
type = string
}
variable "env" {
description = "This refers to the environment or which stage of deployment this monitor is checking. Good values are prd, acc, tst, dev..."
type = string
}
variable "service" {
description = "Service name of what you're monitoring. This also sets the service:<service> tag on the monitor"
type = string
default = "Azure SQL Server"
}
variable "service_display_name" {
description = "Readable version of service name of what you're monitoring."
type = string
default = null
}
variable "notification_channel" {
description = "Channel to which datadog sends alerts, will be overridden by alerting_enabled if that's set to false"
type = string
default = ""
}
variable "additional_tags" {
description = "Additional tags to set on the monitor. Good tagging can be hard but very useful to make cross sections of the environment. Datadog has a few default tags. https://docs.datadoghq.com/getting_started/tagging/ is a good place to start reading about tags"
type = list(string)
default = []
}
variable "locked" {
description = "Makes sure only the creator or admin can modify the monitor"
type = bool
default = true
}
variable "name_prefix" {
description = "Can be used to prefix to the Monitor name"
type = string
default = ""
}
variable "name_suffix" {
description = "Can be used to suffix to the Monitor name"
type = string
default = ""
}
variable "service_check_include_tags" {
description = "Tags to be included in the \"over\" section of a service check query"
type = list(string)
}
variable "service_check_exclude_tags" {
description = "Tags to be included in the \"exclude\" section of a service check query"
type = list(string)
default = []
}
variable "priority_offset" {
description = "With this you can set higher or lower priority for non prod environments, it affects all the monitors at once"
type = number
default = 0
}