Added parameter for instance type (#91)

* Added parameter for instance type
See #89.
Added a variable to change the default instance type for the EKS Cluster

* Added additional parameters for size and version
This commit is contained in:
Rafael Pereyra
2023-01-26 15:38:19 -05:00
committed by GitHub
parent e68a9307e4
commit 2d452be57f
3 changed files with 34 additions and 3 deletions
@@ -7,3 +7,18 @@ variable "aws_region" {
description = "AWS Region"
type = string
}
variable "managed_node_instance_type" {
description = "Instance type for the cluster managed node groups"
type = string
default = "t3.xlarge"
}
variable "managed_node_min_size" {
description = "Minumum number of instances in the node group"
type = number
default = 2
}
variable "eks_version" {
type = string
description = "EKS Cluster version"
default = "1.24"
}