feat: Add support for Managed Node Groups (node_groups) taints (#1424)

This commit is contained in:
Xiangxuan Liu
2021-06-04 06:11:15 +08:00
committed by GitHub
parent 4c1f272e29
commit e6d76d0a06
5 changed files with 22 additions and 3 deletions

View File

@@ -57,6 +57,16 @@ resource "aws_eks_node_group" "workers" {
}
}
dynamic "taint" {
for_each = each.value["taints"]
content {
key = taint.value["key"]
value = taint.value["value"]
effect = taint.value["effect"]
}
}
version = lookup(each.value, "version", null)
labels = merge(