-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
84 lines (71 loc) · 2.35 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
variable "environment" {
type = string
description = "The environment name"
default = "initializ-sandbox"
}
variable "kubernetes_version" {
type = string
description = "The Kubernetes version of the Kubernetes control plane"
default = "1.27"
}
variable "self_managed_node_groups" {
type = any
description = "Object that represents the Node configuration to apply. Taken from the parent module that bootstraps EKS https://registry.terraform.io/modules/terraform-aws-modules/eks/aws/latest#input_self_managed_node_groups "
}
variable "vpc_cidr" {
type = string
description = "VPC's CIDR to be created by the VPC module"
default = "10.0.0.0/16"
}
variable "vpc_private_subnets" {
type = list(string)
description = "VPC's private subnets to be created by the VPC module"
default = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]
}
variable "vpc_public_subnets" {
type = list(string)
description = "VPC's public subnets to be created by the VPC module"
default = ["10.0.4.0/24", "10.0.5.0/24", "10.0.6.0/24"]
}
variable "enable_cluster_autoscaler" {
type = bool
description = "Whether to create a Helm release installing cluster-autoscaler resources or not"
default = false
}
variable "manage_aws_auth_configmap" {
type = bool
description = "Choose whether the EKS module should manage your aws-auth configmap or not"
default = true
}
variable "create_aws_auth_configmap" {
type = bool
description = "This option toogles aws-auth creation. It should only be enabled when using self-managed nodes"
default = false
}
variable "control_plane_public_access" {
type = bool
description = "Indicates whether or not the Amazon EKS public API server endpoint is enabled"
default = false
}
variable "kms_key_administrators" {
type = list(string)
description = "A list of IAM ARNs for key administrators"
}
variable "map_roles" {
description = "Additional IAM roles to add to the aws-auth configmap."
type = list(object({
rolearn = string
username = string
groups = list(string)
}))
default = []
}
variable "map_users" {
description = "Additional IAM users to add to the aws-auth configmap."
type = list(object({
userarn = string
username = string
groups = list(string)
}))
default = []
}