fix: Wrap local.configmap_roles.groups with tolist() to avoid panic (#846)

This commit is contained in:
keznikl
2020-04-23 16:57:58 +02:00
committed by GitHub
parent fed9c5bf19
commit 36d1b5afa5

View File

@@ -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"] : []
)
))
}
]
}