-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.fp
63 lines (55 loc) · 1.73 KB
/
variables.fp
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
variable "approvers" {
type = list(notifier)
description = "List of notifiers to be used for obtaining action/approval decisions, when empty list will perform the default response associated with the detection."
default = [notifier.default]
}
variable "notifier" {
type = notifier
description = "The notifier to use for sending notification messages."
default = notifier.default
}
variable "notification_level" {
type = string
description = "The verbosity level of notification messages to send."
default = "info"
enum = ["info", "verbose", "error"]
}
variable "database" {
type = connection.steampipe
description = "Steampipe database connection string."
default = connection.steampipe.default
tags = {
folder = "Advanced"
}
}
variable "max_concurrency" {
type = number
description = "The maximum concurrency to use for responding to detection items."
default = 1
tags = {
folder = "Advanced"
}
}
variable "incorrect_tags_default_action" {
type = string
description = "The default action to take when no approvers are specified."
default = "notify"
enum = ["notify", "apply", "skip"]
}
variable "base_tag_rules" {
type = object({
add = optional(map(string))
remove = optional(list(string))
remove_except = optional(list(string))
update_keys = optional(map(list(string)))
update_values = optional(map(map(list(string))))
})
description = "Base rules to apply to resources unless overridden when merged with any provided resource-specific rules."
default = {
add = {}
remove = []
remove_except = []
update_keys = {}
update_values = {}
}
}