Skip to content

Commit

Permalink
* fix bug with instance type
Browse files Browse the repository at this point in the history
  • Loading branch information
kg6zgj committed May 16, 2023
1 parent a831b9e commit 4a8e2db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ module "eks" {
eks_autoscaling_group_linux_min_size = var.eks_autoscaling_group_linux_min_size
eks_autoscaling_group_linux_desired_capacity = var.eks_autoscaling_group_linux_desired_capacity
eks_autoscaling_group_linux_max_size = var.eks_autoscaling_group_linux_max_size
eks_instance_type = var.eks_instance_type
eks_windows_instance_type = var.eks_windows_instance_type
eks_linux_instance_type = var.eks_linux_instance_type
eks_autoscaling_group_windows_min_size = var.eks_autoscaling_group_windows_min_size
eks_autoscaling_group_windows_desired_capacity = var.eks_autoscaling_group_windows_desired_capacity
eks_autoscaling_group_windows_max_size = var.eks_autoscaling_group_windows_max_size
Expand Down
10 changes: 8 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,14 @@ variable "eks_autoscaling_group_linux_max_size" {
type = number
}

variable "eks_instance_type" {
description = "Instance size for EKS worker nodes."
variable "eks_linux_instance_type" {
description = "Instance size for EKS linux worker nodes."
default = "m5.large"
type = string
}

variable "eks_windows_instance_type" {
description = "Instance size for EKS windows worker nodes."
default = "m5.large"
type = string
}
Expand Down

0 comments on commit 4a8e2db

Please sign in to comment.