From 72c10d9006135913abca880f0d2402b796baf7d1 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Mon, 13 Jan 2025 16:13:33 -0500 Subject: [PATCH] expects a map not string --- eks_console_access.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eks_console_access.tf b/eks_console_access.tf index eebb559..5b5e248 100644 --- a/eks_console_access.tf +++ b/eks_console_access.tf @@ -36,5 +36,5 @@ data "http" "cluster_roles" { # Apply the Kubernetes manifests to the cluster resource "kubernetes_manifest" "deploy_cluster_roles" { for_each = local.cluster_roles_map - manifest = data.http.cluster_roles[each.key].body + manifest = yamldecode(data.http.cluster_roles[each.key].body) }