mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-23 18:01:04 +01:00
feat: Add capacity_rebalance support for self-managed worker groups (#1326)
This commit is contained in:
@@ -96,6 +96,11 @@ resource "aws_autoscaling_group" "workers_launch_template" {
|
||||
"health_check_grace_period",
|
||||
local.workers_group_defaults["health_check_grace_period"]
|
||||
)
|
||||
capacity_rebalance = lookup(
|
||||
var.worker_groups_launch_template[count.index],
|
||||
"capacity_rebalance",
|
||||
local.workers_group_defaults["capacity_rebalance"]
|
||||
)
|
||||
|
||||
dynamic "mixed_instances_policy" {
|
||||
iterator = item
|
||||
|
||||
Reference in New Issue
Block a user