Skip to content

Commit

Permalink
fix: Wrap local.configmap_roles.groups with tolist() to avoid panic (
Browse files Browse the repository at this point in the history
  • Loading branch information
keznikl authored Apr 23, 2020
1 parent fed9c5b commit 36d1b5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws_auth.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"] : []
)
))
}
]
}
Expand Down

0 comments on commit 36d1b5a

Please sign in to comment.