Skip to content

Commit

Permalink
add trimspace
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jan 13, 2025
1 parent 9118964 commit b9b9a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eks_console_access.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

0 comments on commit b9b9a4e

Please sign in to comment.