-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
57 lines (48 loc) · 1.26 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
variable "region" {
type = string
description = "Name of the AWS region to deploy EKS into"
default = "us-east-1"
}
variable "vpc_id" {
type = string
description = "ID of the VPC to deploy EKS cluster into"
}
variable "cluster_name" {
type = string
description = "Name of the VPC cluster to deploy"
default = "example-cluster"
}
variable "kubernetes_version" {
type = string
description = "Version of Kubernetes to deploy"
default = "1.20"
}
variable "instance_type" {
type = string
description = "Managed node group instance size to use"
default = "t3.medium"
}
variable "node_group_name" {
type = string
description = "Name of the EKS managed node group"
default = "example-nodes"
}
variable "minimum_nodes" {
type = number
description = "Minimum number of nodes in the node group"
default = 1
}
variable "maximum_nodes" {
type = number
description = "Maximum number of nodes in the node group"
default = 3
}
variable "desired_nodes" {
type = number
description = "Desired number of nodes in the node group"
default = 1
}
variable "subnet_ids" {
type = list(string)
description = "Subnet IDs to deploy EKS nodes into"
}