Skip to content

Commit

Permalink
from the data not the map
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jan 13, 2025
1 parent b831a3f commit 07a749f
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 @@ -25,7 +25,7 @@ locals {
},
]
cluster_roles_map = { for cr in local.cluster_roles : cr.name => cr if cr.enabled }
all_access_documents = flatten([for name, url in local.cluster_roles_map : [yamldecode(data.http.cluster_roles[name].body)]])
all_access_documents = flatten([for name, cr in local.cluster_roles_map : [yamldecode(data.http.cluster_roles[name].body)]])
}

# Fetch the YAML files from the specified URLs
Expand Down

0 comments on commit 07a749f

Please sign in to comment.