-
Notifications
You must be signed in to change notification settings - Fork 27
/
variables.tf
71 lines (64 loc) · 1.54 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
variable "aws_region" {
description = "AWS Region"
type = string
default = "us-west-2"
}
variable "cluster_name" {
description = "EKS Cluster Name"
type = string
default = "do-eks-tf-p5"
}
variable "cluster_version" {
description = "EKS Cluster Version"
type = string
default = "1.28"
}
variable "odcr_id" {
description = "On-demand Capacity Reservation ID"
type = string
default = "cr-xxxxxxxxxxxxxxxxx"
}
variable "vpc_cidr" {
description = "VPC CIDR"
type = string
default = "10.11.0.0/16"
}
variable "nodegroup_settings_sys" {
description = "Settings for the system nodegroup"
type = object({
instance_type = string
min_size = string
max_size = string
desired_size = string
vol_size_gb = string
})
default = {
instance_type = "m5.large"
min_size = "0"
max_size = "6"
desired_size = "0"
vol_size_gb = "50"
}
}
variable "nodegroup_settings_gpu" {
description = "Settings for the gpu nodegroup"
type = object({
instance_type = string
min_size = string
max_size = string
desired_size = string
vol_size_gb = string
})
default = {
instance_type = "p5.48xlarge"
min_size = "0"
max_size = "128"
desired_size = "2"
vol_size_gb = "500"
}
}
variable "cluster_enabled_log_types" {
description = "EKS Cluster Control Plane Logging"
type = list(any)
default = ["api", "authenticator", "audit", "scheduler", "controllerManager"]
}