Skip to content

Commit

Permalink
Fix no output do groupByKind
Browse files Browse the repository at this point in the history
  • Loading branch information
daltonmatos committed Sep 21, 2024
1 parent 5816183 commit eeb2445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion groupResources/groupByKind/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ locals {

output "kinds" {
value = {
for kind, result in local.kinds : kind => {
for kind in local.kinds : kind => {
for resource in var.resources : resource.metadata.name => resource
if resource.apiGroup == var.apiGroup && resource.kind == kind
}
Expand Down

0 comments on commit eeb2445

Please sign in to comment.