forked from provectus/sak-scaling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
78 lines (66 loc) · 1.88 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
# For depends_on queqe
variable "module_depends_on" {
default = []
type = list(any)
description = "A list of explicit dependencies"
}
variable "cluster_autoscaler_conf" {
type = map(any)
default = {}
description = "A set of parameters to pass to Cluster Autoscaler Helm chart (see: https://github.com/kubernetes/autoscaler)"
}
variable "hpa_conf" {
type = map(any)
default = {}
description = "A set of parameters to pass to Horizontal Pod Autoscaler Helm chart (see: https://github.com/banzaicloud/hpa-operator)"
}
variable "namespace" {
type = string
default = "kube-system"
description = "A name of the existing namespace"
}
variable "namespace_name" {
type = string
default = "scaling"
description = "A name of namespace for creating"
}
variable "cluster_name" {
type = string
default = null
description = "A name of the Amazon EKS cluster"
}
variable "cluster_version" {
type = string
description = "EKS cluster version"
default = "1.19"
}
variable "hpa_enabled" {
type = bool
default = true
description = "Whether to deploy Horizontal Pod Autoscaler chart"
}
variable "cluster_autoscaler_enabled" {
type = bool
default = true
description = "Whether to deploy Cluster Autoscaler chart"
}
variable "cluster_autoscaler_chart_version" {
type = string
default = "9.10.3"
description = "Version of Cluster Autoscaler chart"
}
variable "hpa_chart_version" {
type = string
default = "0.4.0"
description = "Version of Horizontal Pod Autoscaler chart"
}
variable "argocd" {
type = map(string)
description = "A set of values for enabling deployment through ArgoCD"
default = {}
}
variable "tags" {
type = map(string)
default = {}
description = "A tags for attaching to new created AWS resources"
}