diff --git a/eks_console_access.tf b/eks_console_access.tf index 2b37f6f..b1ab23b 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 item in local.cluster_roles_map : yamldecode("${data.http.cluster_roles[item.name].body}") => item } + manifest_doc = { for item in local.cluster_roles_map : "${data.http.cluster_roles[item.name].body}" => item } } # Fetch the YAML files from the specified URLs