Skip to content

Commit

Permalink
synatx
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jan 17, 2025
1 parent 4173a05 commit edf1134
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eks_console_access.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ data "http" "cluster_roles" {
# Apply the Kubernetes manifests to the cluster
resource "kubernetes_manifest" "deploy_cluster_roles" {
for_each = local.cluster_roles_map
manifest = { for manifest in yamldecode(data.http.cluster_roles[each.key]) : "${lower(manifest.kind)}-${manifest.metadata.name}" => manifest }
manifest = { for manifest in yamldecode("${data.http.cluster_roles[each.key].body}") : lower("${lmanifest.kind}-${manifest.metadata.name}") => manifest }

wait {
rollout = true
}
}

# resource "kubernetes_manifest" "projects" {
Expand Down

0 comments on commit edf1134

Please sign in to comment.