This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
86 lines (72 loc) · 2.11 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
variable "cluster_name" {
type = string
}
variable "cluster_endpoint" {
type = string
}
variable "cluster_certificate_authority_data" {
type = string
}
variable "cluster_version" {
default = ""
type = string
description = "The version of the cluster. Used to determine the version of the autoscaler to deploy. Defaults to the most recent version known by this module."
}
variable "iam_path" {
default = "/delegatedadmin/developer/"
type = string
}
variable "permissions_boundary" {
default = "arn:aws:iam::373346310182:policy/cms-cloud-admin/developer-boundary-policy"
type = string
}
### Helm variables
variable "helm_namespace" {
default = "kube-system"
type = string
}
variable "oidc_provider_arn" {
type = string
default = ""
}
variable "autoscaler_expander_method" {
default = "least-waste"
type = string
description = "Method by which CA will select a new instance to launch. Current options: random, most-pods, least-waste. See: https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders"
}
variable "extraArgs" {
default = {}
type = map(any)
description = "List of extraArgs values to pass to the autoscaler chart. See: https://github.com/kubernetes/autoscaler/blob/master/charts/cluster-autoscaler/values.yaml#L165"
}
# Pod limit values
variable "cpu_limits" {
default = "50m"
type = string
}
variable "cpu_requests" {
default = "10m"
type = string
}
variable "memory_limits" {
default = "512Mi"
type = string
}
variable "memory_requests" {
default = "50Mi"
type = string
}
variable "aws_region" {
default = "us-east-1"
type = string
}
variable "additional_values" {
default = {}
description = "Map of key/value pairs to pass to the autoscaler chart."
type = map(any)
}
variable "monitoring_enabled" {
default = false
type = bool
description = "Enable monitoring for the cluster autoscaler; Note that this should _not_ be enabled before bigbang is deployed, as it will fail to deploy since the monitoring namespace does not exist yet."
}