generated from ministryofjustice/ap-terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
115 lines (94 loc) · 2.72 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
variable "map_roles" {
description = "Additional IAM roles to add to the aws-auth configmap."
type = list(object({
rolearn = string
username = string
groups = list(string)
}))
}
variable "subnets" {
description = "List of private subnet address ranges in CIDR format"
type = list(string)
}
variable "cluster_name" {
description = "The K8S version of the EKS control plane to provision"
type = string
}
variable "cluster_version" {
description = "The K8S version of the EKS control plane to provision"
type = string
}
variable "cluster_node_group_version" {
description = "The K8S version of the EKS node group to provision"
type = string
}
variable "cluster_vpc_cni_version" {
description = "Version of the VPC CNI add on"
type = string
}
variable "cluster_ebs_csi_version" {
description = "Version of the EBS CSI add on"
type = string
}
variable "cluster_coredns_version" {
description = "Version of the CoreDNS add on"
type = string
}
variable "main_nodegroup_instance_types" {
description = "EC2 instance types to be used for the main EKS nodegroup"
type = string
}
variable "core_infra_nodegroup_instance_types" {
description = "EC2 instance types to be used for the core infra EKS nodegroup"
type = string
}
variable "main_nodegroup_min_capacity" {
description = "The minimum capacity for the EKS node group"
type = number
}
variable "main_nodegroup_max_capacity" {
description = "The maximum capacity for the EKS node group"
type = number
}
variable "main_nodegroup_desired_capacity" {
description = "The desired capacity for the EKS node group"
type = number
}
variable "core_infra_nodegroup_min_capacity" {
description = "The minimum capacity for the EKS node group"
type = number
}
variable "core_infra_nodegroup_max_capacity" {
description = "The maximum capacity for the EKS node group"
type = number
}
variable "core_infra_nodegroup_desired_capacity" {
description = "The desired capacity for the EKS node group"
type = number
}
variable "disk_size" {
description = "The desired capacity for the EKS node group "
type = number
}
variable "vpc_id" {
description = "ID of the VPC to create the cluster in"
type = string
}
variable "route53_zone_arn" {
description = "The route53 zone ID for the cluster's domain"
type = string
}
variable "create_timeout" {
description = "value"
default = "60m"
type = string
}
variable "delete_timeout" {
description = "value"
default = "60m"
type = string
}
variable "org_name" {
description = "Organisation the EKS cluster should trust"
type = string
}