From cd4ce1c5899cac933412e6ff695e866d6dcca3c6 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Mon, 13 Jan 2025 17:31:10 -0500 Subject: [PATCH] json to yaml --- 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 7759a51..cbc5825 100644 --- a/eks_console_access.tf +++ b/eks_console_access.tf @@ -47,7 +47,7 @@ data "http" "cluster_roles" { resource "kubernetes_manifest" "deploy_cluster_roles" { # depends_on = [null_resource.cluster_roles] for_each = { for k, v in local.cluster_roles_map : k => v if v.enabled } - manifest = yamldecode(data.http.cluster_roles[each.key].body) + manifest = yamldecode(jsonencode(data.http.cluster_roles[each.key].body)) } # resource "null_resource" "apply_cluster_roles" {