Skip to content

Commit 4c1f272

Browse files
authored
feat: Allow to choose launch template version for Managed Node Groups when create_launch_template is set to true (#1419)
1 parent 1e2c324 commit 4c1f272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/node_groups/node_groups.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ resource "aws_eks_node_group" "workers" {
4848
dynamic "launch_template" {
4949
for_each = each.value["launch_template_id"] == null && each.value["create_launch_template"] ? [{
5050
id = aws_launch_template.workers[each.key].id
51-
version = aws_launch_template.workers[each.key].latest_version
51+
version = each.value["launch_template_version"]
5252
}] : []
5353

5454
content {

0 commit comments

Comments
 (0)