exclude folder config files from project factory paths (#3488)
This commit is contained in:
committed by
GitHub
parent
e5eb13c6e4
commit
b9f9446e38
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user