-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariable.fp
89 lines (73 loc) · 1.69 KB
/
variable.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
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
variable "default_connection" {
type = connection
default = connection.steampipe.default
}
variable "default_connection_list" {
type = list(connection)
default = [connection.steampipe.default]
}
variable "default_notifier" {
type = notifier
default = notifier.default
}
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 "my_name" {
type = string
default = "flowpipe"
}
variable "string_var" {
type = string
default = "flowpipe_string"
}
variable "mandatory_tag_keys" {
type = list(string)
description = "A list of mandatory tag keys to check for (case sensitive)."
default = ["Environment", "Owner"]
}
variable "var_number" {
type = number
default = 42
}
variable "var_list_of_string" {
type = list(string)
default = ["value1", "value2"]
}
variable "var_map_of_string" {
type = map(string)
default = {
key1 = "value1"
key2 = "value2"
}
}
variable "var_map" {
type = map(string)
default = {
key1 = "value1"
key2 = "value2"
}
}
variable "var_map_number" {
type = map(number)
default = {
key1 = 1
key2 = 2
}
}
variable "database" {
type = connection.steampipe
description = "The database connection to use."
default = connection.steampipe.default
}
variable "notifier" {
type = notifier
description = "The notifier to use."
default = notifier.default
}
variable "my_conn" {
type = connection.steampipe
default = connection.steampipe.default
}