-
Notifications
You must be signed in to change notification settings - Fork 4
/
variables.tf
47 lines (40 loc) · 957 Bytes
/
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
variable "region" {
description = "AWS region"
type = string
default = "us-east-1"
}
variable "cluster_version" {
description = "Kubernetes cluster version"
type = string
default = "1.27"
}
variable "cluster_name" {
description = "EKS cluster name"
type = string
default = "env0_eks_cluster"
}
variable "instance_types" {
description = "EC2 instances used for K8s nodes"
type = list
default = ["t2.small"]
}
variable "vpc_cidr" {
description = "The CIDR block for the VPC"
type = string
default = "10.0.0.0/16"
}
variable "cluster_min_size" {
description = "K8s Cluster minimum size"
type = number
default = 1
}
variable "cluster_max_size" {
description = "K8s Cluster maximum size"
type = number
default = 3
}
variable "cluster_desired_size" {
description = "K8s Cluster desired size"
type = number
default = 2
}