forked from ptaube/tf_cloudless_sleepy
-
Notifications
You must be signed in to change notification settings - Fork 2
/
vars.tf
152 lines (120 loc) · 2.49 KB
/
vars.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# Configure these variables
variable "TF_VERSION" {
default = "0.14"
description = "terraform engine version to be used in schematics"
}
variable "sample_var" {
description = "A sample_var to pass to the template."
default = "hello"
}
variable "sleepy_time" {
description = "How long our local-exec will take a nap."
default = 0
}
variable "string_array_with_type" {
type = list(string)
}
variable "boolean_with_type" {
type = bool
}
# variable "int_with_type" {
# type = number
# }
# variable "float_with_type" {
# type = number
# }
# # variable "object_array_with_type" {
# # type = list(object({
# # foo = string
# # }))
# # }
variable "object_with_type" {
type = object({foo = string})
default = {foo:"bar"}
}
variable "a_password" {
type = string
}
variable "another_password" {
type = string
}
variable "multiline_password" {
type = string
}
variable "hidden_password" {
type = string
}
variable "hidden_string" {
type = string
}
variable "cluster_id" {
type = string
}
# variable "string_array_no_type" {
# default = ["a", "b", "c"]
# }
# variable "boolean_no_type" {
# default = false
# }
# variable "int_no_type" {
# default = 1
# }
# variable "float_no_type" {
# default = 1.1
# }
# # variable "object_array_no_type" {
# # default = [{"foo":"bar"}, {"foo":"baz"}]
# # }
# # variable "object_no_type" {
# # default = {"foo":"bar"}
# # }
# variable "string_array_with_type_and_default_1" {
# type = list(string)
# default = ["a", "b", "c"]
# }
# # variable "string_array_with_type_and_default_2" {
# # type = list(string)
# # default = [
# # "a",
# # "b",
# # "c"
# # ]
# # }
# variable "boolean_with_type_and_default" {
# type = bool
# default = true
# }
# variable "int_with_type_and_default" {
# type = number
# default = 200
# }
# variable "float_with_type_and_default" {
# type = number
# default = 200.100
# }
# # variable "object_array_with_type_and_default_1" {
# # type = list(object({
# # foo = string
# # }))
# # default = [{"foo"="bar"}]
# # }
# # variable "object_array_with_type_and_default_2" {
# # type = list(object({
# # foo = string
# # }))
# # default = [
# # {foo="bar"}
# # ]
# # }
# variable "object_with_type_and_default_1" {
# type = object({foo = string})
# default = {foo:"bar"}
# }
# variable "object_with_type_and_default_2" {
# type = object({
# foo = string
# })
# default = {
# foo="bar"
# }
# }