Skip to content

Commit

Permalink
feat: Allow to choose launch template version for Managed Node Groups…
Browse files Browse the repository at this point in the history
… when `create_launch_template` is set to `true` (#1419)
  • Loading branch information
ArchiFleKs authored Jun 3, 2021
1 parent 1e2c324 commit 4c1f272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/node_groups/node_groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ resource "aws_eks_node_group" "workers" {
dynamic "launch_template" {
for_each = each.value["launch_template_id"] == null && each.value["create_launch_template"] ? [{
id = aws_launch_template.workers[each.key].id
version = aws_launch_template.workers[each.key].latest_version
version = each.value["launch_template_version"]
}] : []

content {
Expand Down

0 comments on commit 4c1f272

Please sign in to comment.