mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-26 03:11:06 +01:00
fix max_instance_lifetime for workers (#771)
* fix max_instance_lifetime for workers * update changelog * update changelog
This commit is contained in:
committed by
GitHub
parent
f465e55721
commit
2715b01e4e
@@ -74,7 +74,7 @@ resource "aws_autoscaling_group" "workers" {
|
||||
local.workers_group_defaults["termination_policies"]
|
||||
)
|
||||
max_instance_lifetime = lookup(
|
||||
var.worker_groups_launch_template[count.index],
|
||||
var.worker_groups[count.index],
|
||||
"max_instance_lifetime",
|
||||
local.workers_group_defaults["max_instance_lifetime"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user