exclude folder config files from project factory paths (#3488)

This commit is contained in:
Ludovico Magnocavallo
2025-10-30 17:25:14 +01:00
committed by GitHub
parent e5eb13c6e4
commit b9f9446e38

View File

@@ -37,6 +37,7 @@ locals {
_projects_raw = {
for f in try(fileset(local._projects_path, "**/*.yaml"), []) :
trimsuffix(f, ".yaml") => yamldecode(file("${local._projects_path}/${f}"))
if !endswith(f, ".config.yaml")
}
_templates_path = try(
pathexpand(var.factories_config.project_templates), null