-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
226 lines (192 loc) · 4.91 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
#-----------METRIC SERVER----------------------
variable "metrics_server" {
description = "Enable metrics server add-on"
type = bool
default = false
}
variable "metrics_server_helm_config" {
description = "Metrics Server Helm Chart config"
type = any
default = null
}
#-----------CLUSTER AUTOSCALER------------------
variable "cluster_autoscaler" {
description = "Enable Cluster Autoscaler add-on"
type = bool
default = false
}
variable "cluster_autoscaler_helm_config" {
description = "Cluster Autoscaler Helm Chart config"
type = any
default = null
}
#-----------AWS LOAD BALANCER CONTROLLER --------
variable "aws_load_balancer_controller" {
description = "Enable AWS Load Balancer Controller add-on"
type = bool
default = false
}
variable "aws_load_balancer_controller_helm_config" {
description = "AWS Load Balancer Controller Helm Chart config"
type = any
default = null
}
#-----------AWS NODE TERMINATION HANDLER --------
variable "aws_node_termination_handler" {
description = "Enable AWS Node Termination Handler add-on"
type = bool
default = false
}
variable "aws_node_termination_handler_helm_config" {
description = "AWS Node Termination Handler Helm Chart config"
type = any
default = null
}
#-----------AWS EFS CSI DRIVER --------------------
variable "aws_efs_csi_driver" {
description = "Enable AWS EFS CSI Driver add-on"
type = bool
default = false
}
variable "aws_efs_csi_driver_helm_config" {
description = "AWS EFS CSI Driver Helm Chart config"
type = any
default = null
}
#-----------AWS EBS CSI DRIVER --------------------
variable "aws_ebs_csi_driver" {
description = "Enable AWS EBS CSI Driver add-on"
type = bool
default = false
}
variable "aws_ebs_csi_driver_helm_config" {
description = "AWS EBS CSI Driver Helm Chart config"
type = any
default = null
}
#-----------KARPENTER -----------------------------
variable "karpenter" {
description = "Enable KARPENTER add-on"
type = bool
default = false
}
variable "karpenter_helm_config" {
description = "Karpenter Helm Chart config"
type = any
default = null
}
#-----------ISTIO INGRESS---------------------------
variable "istio_ingress" {
description = "Enable Istio Ingress add-on"
type = bool
default = false
}
variable "istio_ingress_helm_config" {
description = "Istio Ingress Helm Chart config"
type = any
default = null
}
variable "istio_manifests" {
type = object({
istio_ingress_manifest_file_path = string
istio_gateway_manifest_file_path = string
})
default = {
istio_ingress_manifest_file_path = ""
istio_gateway_manifest_file_path = ""
}
}
#-----------KAILI DASHBOARD-----------------------
variable "kiali_server" {
description = "Enable kiali server add-on"
type = bool
default = false
}
variable "kiali_server_helm_config" {
description = "Kiali Server Helm Chart config"
type = any
default = null
}
variable "kiali_manifests" {
type = object({
kiali_virtualservice_file_path = string
})
default = {
kiali_virtualservice_file_path = ""
}
}
#-----------CALICO TOGERA --------------------------
variable "calico_tigera" {
description = "Enable Tigera's Calico add-on"
type = bool
default = false
}
variable "calico_tigera_helm_config" {
description = "Calico Helm Chart config"
type = any
default = null
}
#----------- EXTERNAL SECRETS ---------------------
variable "external_secrets" {
description = "Enable External-Secrets add-on"
type = bool
default = false
}
variable "external_secrets_helm_config" {
description = "External-Secrets Helm Chart config"
type = any
default = null
}
variable "externalsecrets_manifests" {
type = object({
secret_store_manifest_file_path = string
external_secrets_manifest_file_path = string
secret_manager_name = string
})
default = {
secret_store_manifest_file_path = ""
external_secrets_manifest_file_path = ""
secret_manager_name = "addon-external_secrets"
}
}
#-----------COMMON VARIABLES -----------------------
variable "tags" {
type = any
default = {}
}
variable "irsa_iam_role_path" {
type = any
default = {}
}
variable "irsa_iam_permissions_boundary" {
type = any
default = {}
}
variable "manage_via_gitops" {
type = bool
default = false
}
variable "data_plane_wait_arn" {
type = string
default = ""
}
variable "eks_cluster_id" {
type = string
default = ""
}
variable "eks_oidc_provider" {
type = string
default = ""
}
variable "eks_cluster_endpoint" {
type = string
default = ""
}
variable "eks_oidc_issuer_url" {
type = string
default = ""
}
variable "eks_cluster_name" {
type = string
default = ""
}