We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba69b1d commit 82fc91fCopy full SHA for 82fc91f
aws_auth.tf
@@ -53,7 +53,7 @@ resource "kubernetes_config_map" "aws_auth" {
53
data = {
54
mapRoles = <<EOF
55
${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}
+%{if var.map_roles == []}${yamlencode(var.map_roles)}%{endif}
57
EOF
58
mapUsers = yamlencode(var.map_users)
59
mapAccounts = yamlencode(var.map_accounts)
0 commit comments