feat(project-factory): Support factories_config in data_defaults (#3966)

This commit is contained in:
Josh Myers
2026-05-14 14:44:15 +01:00
committed by GitHub
parent 332b516ae8
commit abff147a95
4 changed files with 82 additions and 14 deletions

View File

@@ -212,6 +212,10 @@ module "projects-iam" {
lookup(local.self_sas_iam_emails, each.key, {}),
local.projects_service_agents
)
custom_roles = merge(
try(local.ctx.custom_roles, {}),
module.projects[each.key].custom_role_id
)
project_ids = merge(
local.ctx.project_ids,
{ for k, v in module.projects : k => v.project_id }