Skip to content

Commit

Permalink
feat: Nodegroup update_default_version config should be parameteriz…
Browse files Browse the repository at this point in the history
…ed (#1590)

Co-authored-by: Bryant Biggs <[email protected]>
  • Loading branch information
Juan Jose Miño - Synapse and bryantbiggs authored May 6, 2023
1 parent 2032260 commit df164e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions modules/aws-eks-managed-node-groups/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ locals {
release_version = ""
force_update_version = null

update_default_version = true

k8s_labels = {}
k8s_taints = []
additional_tags = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resource "aws_launch_template" "managed_node_groups" {

name = "${var.context.eks_cluster_id}-${local.managed_node_group["node_group_name"]}"
description = "Launch Template for EKS Managed Node Groups"
update_default_version = true
update_default_version = local.managed_node_group["update_default_version"]

user_data = local.userdata_base64

Expand Down

0 comments on commit df164e9

Please sign in to comment.