Skip to content

Commit

Permalink
without yamldecode
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jan 13, 2025
1 parent 13152b8 commit 3af08e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eks_console_access.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 3af08e2

Please sign in to comment.