Fix regression in project factory module context (#3708)

* fix regression in pf

* regression test
This commit is contained in:
Ludovico Magnocavallo
2026-02-05 19:06:34 +01:00
committed by GitHub
parent 97297d6065
commit 06da98fac6
4 changed files with 36 additions and 8 deletions

View File

@@ -95,11 +95,11 @@ module "projects" {
each.value.contacts, var.data_merges.contacts
)
context = merge(local.ctx, {
condition_vars = {
condition_vars = merge(local.ctx.condition_vars, {
folder_ids = {
for k, v in local.ctx_folder_ids : replace(k, "$folder_ids:", "") => v
}
}
})
folder_ids = local.ctx_folder_ids
})
default_service_account = try(each.value.default_service_account, "keep")