diff --git a/eks_console_access.tf b/eks_console_access.tf index 5fc6719..b7a312b 100644 --- a/eks_console_access.tf +++ b/eks_console_access.tf @@ -26,7 +26,7 @@ locals { ] cluster_roles_map = { for cr in local.cluster_roles : cr.name => cr if cr.enabled } # roles = provider::kubernetes::manifest_decode_multi(data.http.cluster_roles[each.key].body) - manifest_doc = { for name in local.cluster_roles_map : yamldecode(data.http.cluster_roles[name].body) => crm } + manifest_doc = { for name in local.cluster_roles_map : yamldecode(data.http.cluster_roles[name].body) => name } } # Fetch the YAML files from the specified URLs