Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jan 17, 2025
1 parent 8e9a4c2 commit 1c8d9ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eks_console_access.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ locals {
]
cluster_roles_map = { for cr in local.cluster_roles : cr.name => cr if cr.enabled }
# roles = provider::kubernetes::manifest_decode_multi(data.http.cluster_roles[each.key].body)
manifest_doc = { for crm in local.cluster_roles_map : data.http.cluster_roles[crm.key].body => crm }
manifest_doc = { for crm in local.cluster_roles_map : data.http.cluster_roles[crm.name].body => crm }
}

# Fetch the YAML files from the specified URLs
Expand All @@ -47,7 +47,6 @@ 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 provider::kubernetes::manifest_decode_multi(local.manifest_doc) : lower("${manifest.kind}-${manifest.metadata.name}") => manifest }

wait {
Expand Down

0 comments on commit 1c8d9ff

Please sign in to comment.