generated from clouddrove/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
276 lines (231 loc) · 6.53 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
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
variable "project_id" {
description = "GCP project ID"
type = string
}
variable "gke_cluster_name" {
description = "gke cluster name"
type = string
default = ""
}
variable "region" {
description = "cluster region"
type = string
default = ""
}
#-----------CLUSTER AUTOSCALER------------------
variable "cluster_autoscaler" {
description = "Enable Cluster Autoscaler add-on"
type = bool
default = false
}
variable "cluster_autoscaler_helm_config" {
description = "Path to override-values.yaml for Cluster Autoscaler Helm Chart"
type = any
default = null
}
variable "cluster_autoscaler_extra_configs" {
description = "Override attributes of helm_release terraform resource"
type = any
default = {}
}
#-----------RELOADER------------------
variable "reloader" {
description = "Enable Reloader add-on"
type = bool
default = false
}
variable "reloader_helm_config" {
description = "Path to override-values.yaml for Reloader Helm Chart"
type = any
default = null
}
variable "reloader_extra_configs" {
description = "Override attributes of helm_release terraform resource"
type = any
default = {}
}
#-----------Ingress-Nginx----------------
variable "ingress_nginx_extra_configs" {
description = "Nginx ingress extra config"
type = any
default = {}
}
variable "ingress_nginx_helm_config" {
description = "Path to override-values.yaml for Ingress Nginx Helm Chart"
type = any
default = null
}
variable "ingress_nginx" {
description = "Enable Nginx ingress add-on"
type = bool
default = false
}
#-----------CERTIFICATION-MANAGER----------------------
variable "certification_manager" {
description = "Enable certification_manager add-on"
type = bool
default = false
}
variable "certification_manager_helm_config" {
description = "Path to override-values.yaml for Certification Manager Chart"
type = any
default = null
}
variable "certification_manager_extra_configs" {
description = "Override attributes of helm_release terraform resource"
type = any
default = {}
}
#----------- KEDA ----------------------------
variable "keda" {
description = "Enable Keda add-on"
type = bool
default = false
}
variable "keda_helm_config" {
description = "Path to override-values.yaml for Keda Helm Chart"
type = any
default = null
}
variable "keda_extra_configs" {
description = "Override attributes of helm_release terraform resource"
type = any
default = {}
}
#-----------EXTERNAL DNS----------------------------
variable "external_dns" {
description = "Enable External DNS add-on"
type = bool
default = false
}
variable "external_dns_helm_config" {
description = "Path to override-values.yaml for External DNS Helm Chart"
type = any
default = null
}
variable "external_dns_extra_configs" {
description = "Override attributes of helm_release terraform resource"
type = any
default = {}
}
#-----------KUBECLARITY---------------------------
variable "kubeclarity" {
description = "Enable Kubeclarity add-on"
type = bool
default = false
}
variable "kubeclarity_helm_config" {
description = "Path to override-values.yaml for Kubeclarity Helm Chart"
type = any
default = null
}
variable "kubeclarity_extra_configs" {
description = "Override attributes of helm_release terraform resource"
type = any
default = {}
}
#-----------FILEBEAT---------------------------
variable "filebeat" {
description = "Enable filebeat add-on"
type = bool
default = false
}
variable "filebeat_helm_config" {
description = "Path to override-values.yaml for filebeat Helm Chart"
type = any
default = null
}
variable "filebeat_extra_configs" {
description = "Override attributes of helm_release terraform resource"
type = any
default = {}
}
#---------------EXTERNAL-SECRET--------------------
variable "external_secrets" {
description = "Enable or disable external-secrets deployment"
type = bool
default = false
}
variable "external_secrets_helm_config" {
description = "Path to override-values.yaml for External-Secrets Helm Chart"
type = any
default = null
}
variable "external_secrets_extra_configs" {
description = "Override attributes of helm_release terraform resource"
type = any
default = {}
}
#-----------ACTIONS-RUNNER-CONTROLLER----------------------
variable "actions_runner_controller" {
description = "Enable actions_runner_controller add-on"
type = bool
default = false
}
variable "actions_runner_controller_helm_config" {
description = "Path to override-values.yaml for actions_runner_controller Chart"
type = any
default = null
}
variable "actions_runner_controller_extra_configs" {
description = "Override attributes of helm_release terraform resource"
type = any
default = {}
}
#----------- REDIS ----------------------------
variable "redis" {
description = "Enable Redis add-on"
type = bool
default = false
}
variable "redis_helm_config" {
description = "Path to override-values.yaml for Redis Helm Chart"
type = any
default = null
}
variable "redis_extra_configs" {
description = "Override attributes of helm_release terraform resource"
type = any
default = {}
}
#-----------PROMETHEUS---------------------------
variable "prometheus" {
description = "Enable prometheus add-on"
type = bool
default = false
}
variable "prometheus_helm_config" {
description = "Prometheus Helm Chart config"
type = any
default = null
}
variable "prometheus_extra_configs" {
description = "Override attributes of helm_release terraform resource"
type = any
default = {}
}
#----------------------- GRAFANA -----------------------------
variable "grafana" {
description = "Enable Grafana add-on"
type = bool
default = false
}
variable "grafana_helm_config" {
description = "Grafana Helm Chart config"
type = any
default = null
}
variable "grafana_extra_configs" {
description = "Override attributes of helm_release terraform resource"
type = any
default = {}
}
variable "grafana_manifests" {
description = "Path of virtual-service yaml manifests"
type = object({
grafana_virtualservice_file_path = string
})
default = {
grafana_virtualservice_file_path = ""
}
}