From 3af08e2c0c2529558e03173eb6800ec3175dc18d Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Mon, 13 Jan 2025 16:36:55 -0500 Subject: [PATCH] without yamldecode --- eks_console_access.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eks_console_access.tf b/eks_console_access.tf index 475c076..eebb559 100644 --- a/eks_console_access.tf +++ b/eks_console_access.tf @@ -30,11 +30,11 @@ locals { # Fetch the YAML files from the specified URLs data "http" "cluster_roles" { for_each = local.cluster_roles_map - url = each.url + url = each.value.url } # Apply the Kubernetes manifests to the cluster resource "kubernetes_manifest" "deploy_cluster_roles" { for_each = local.cluster_roles_map - manifest = yamldecode(data.http.cluster_roles[each.key].body) + manifest = data.http.cluster_roles[each.key].body }