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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user