-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
55 lines (48 loc) · 1 KB
/
variables.tf
File metadata and controls
55 lines (48 loc) · 1 KB
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
variable "aws_region" {
default = "us-east-1"
}
variable "cluster_version" {
type = string
default = "1.21"
}
variable "vpc_cidr" {
type = string
default = "10.0.0.0/16"
}
variable "private_subnets" {
type = list(any)
default = ["10.0.1.0/24", "10.0.2.0/24"]
}
variable "public_subnets" {
type = list(any)
default = ["10.0.3.0/24", "10.0.4.0/24"]
}
variable "node_groups" {
type = map(object({
min_size = number
max_size = number
desired_size = number
instance_type = string
}))
description = "Managed node group information"
default = {
"system-pods" = {
min_size = 1
max_size = 2
desired_size = 1
instance_type = "t2.medium"
}
"cpu-application" = {
min_size = 1
max_size = 2
desired_size = 1
instance_type = "t2.medium"
}
"gpu-application" = {
min_size = 1
max_size = 2
desired_size = 1
instance_type = "t2.medium"
}
}
}