diff --git a/groupResources/groupByKind/outputs.tf b/groupResources/groupByKind/outputs.tf index 8b4fa34..3479814 100644 --- a/groupResources/groupByKind/outputs.tf +++ b/groupResources/groupByKind/outputs.tf @@ -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 }