1
0
mirror of https://github.com/terraform-aws-modules/terraform-aws-eks.git synced 2025-09-09 19:32:58 +08:00

feat: Add node repair config to managed node group (#3271)

* feat: add var.node_repair_config to eks-managed-node-group

Fixes terraform-aws-modules/terraform-aws-eks#3249

* chore: run terraform-docs

* chore: update examples/eks-managed-node-group

* fix: Correct implementation

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
This commit is contained in:
Kasper Jacobsen
2025-01-17 18:35:47 +01:00
committed by GitHub
parent 4fe03aed68
commit edd7ef36dd
34 changed files with 74 additions and 50 deletions
+8
View File
@@ -458,6 +458,14 @@ resource "aws_eks_node_group" "this" {
}
}
dynamic "node_repair_config" {
for_each = var.node_repair_config != null ? [var.node_repair_config] : []
content {
enabled = node_repair_config.value.enabled
}
}
timeouts {
create = lookup(var.timeouts, "create", null)
update = lookup(var.timeouts, "update", null)