From b9b9a4e91b08dfd9d115cb7d7e38c65418909b2d Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Mon, 13 Jan 2025 16:50:02 -0500 Subject: [PATCH] add trimspace --- 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 5b5e248..afa33eb 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 = yamldecode(data.http.cluster_roles[each.key].body) + manifest = yamldecode(trimspace(data.http.cluster_roles[each.key].body)) }