Skip to content

Commit 82fc91f

Browse files
Update aws_auth.tf
Revert this due to terraform-aws-modules#611
1 parent ba69b1d commit 82fc91f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_auth.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ resource "kubernetes_config_map" "aws_auth" {
5353
data = {
5454
mapRoles = <<EOF
5555
${join("", distinct(concat(data.template_file.launch_template_worker_role_arns.*.rendered, data.template_file.worker_role_arns.*.rendered)))}
56-
%{if var.map_roles != []}${yamlencode(var.map_roles)}%{endif}
56+
%{if var.map_roles == []}${yamlencode(var.map_roles)}%{endif}
5757
EOF
5858
mapUsers = yamlencode(var.map_users)
5959
mapAccounts = yamlencode(var.map_accounts)

0 commit comments

Comments
 (0)