mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-17 09:07:20 +01:00
feat: Added support for update_config in EKS managed node groups (#1560)
This commit is contained in:
@@ -69,6 +69,15 @@ resource "aws_eks_node_group" "workers" {
|
||||
}
|
||||
}
|
||||
|
||||
dynamic "update_config" {
|
||||
for_each = try(each.value.update_config.max_unavailable_percentage > 0, each.value.update_config.max_unavailable > 0, false) ? [true] : []
|
||||
|
||||
content {
|
||||
max_unavailable_percentage = try(each.value.update_config.max_unavailable_percentage, null)
|
||||
max_unavailable = try(each.value.update_config.max_unavailable, null)
|
||||
}
|
||||
}
|
||||
|
||||
timeouts {
|
||||
create = lookup(each.value["timeouts"], "create", null)
|
||||
update = lookup(each.value["timeouts"], "update", null)
|
||||
|
||||
Reference in New Issue
Block a user