mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-16 08:37:18 +01:00
feat: Allow to choose launch template version for Managed Node Groups when create_launch_template is set to true (#1419)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user