Skip to content

Commit 856b3ba

Browse files
authored
Do not sort instance types (#142)
1 parent 3f9c3e7 commit 856b3ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ locals {
7777
# Always supply instance types via the node group, not the launch template,
7878
# because node group supports up to 20 types but launch template does not.
7979
# See https://docs.aws.amazon.com/eks/latest/APIReference/API_CreateNodegroup.html#API_CreateNodegroup_RequestSyntax
80-
# Keep sorted so that change in order does not trigger replacement via random_pet
81-
instance_types = sort(var.instance_types)
80+
instance_types = var.instance_types
8281
ami_type = local.launch_template_ami == "" ? var.ami_type : null
8382
capacity_type = var.capacity_type
8483
labels = var.kubernetes_labels == null ? {} : var.kubernetes_labels

0 commit comments

Comments
 (0)