mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-18 17:47:31 +01:00
fix: Wrap local.configmap_roles.groups with tolist() to avoid panic (#846)
This commit is contained in:
@@ -48,13 +48,13 @@ locals {
|
||||
{
|
||||
rolearn = role["worker_role_arn"]
|
||||
username = "system:node:{{EC2PrivateDNSName}}"
|
||||
groups = concat(
|
||||
groups = tolist(concat(
|
||||
[
|
||||
"system:bootstrappers",
|
||||
"system:nodes",
|
||||
],
|
||||
role["platform"] == "windows" ? ["eks:kube-proxy-windows"] : []
|
||||
)
|
||||
))
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user