Skip to content

Commit 36d1b5a

Browse files
authored
fix: Wrap local.configmap_roles.groups with tolist() to avoid panic (#846)
1 parent fed9c5b commit 36d1b5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aws_auth.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ locals {
4848
{
4949
rolearn = role["worker_role_arn"]
5050
username = "system:node:{{EC2PrivateDNSName}}"
51-
groups = concat(
51+
groups = tolist(concat(
5252
[
5353
"system:bootstrappers",
5454
"system:nodes",
5555
],
5656
role["platform"] == "windows" ? ["eks:kube-proxy-windows"] : []
57-
)
57+
))
5858
}
5959
]
6060
}

0 commit comments

Comments
 (0)