add the self project key to service account namespaces (#3490)

This commit is contained in:
Ludovico Magnocavallo
2025-10-30 17:42:13 +01:00
committed by GitHub
parent 4a9085675e
commit c765043c5c
8 changed files with 66 additions and 14 deletions

View File

@@ -124,10 +124,13 @@ module "projects-iam" {
}
}
context = merge(local.ctx, {
folder_ids = local.ctx.folder_ids
kms_keys = local.ctx.kms_keys
iam_principals = local.ctx_iam_principals
log_buckets = local.ctx_log_buckets
folder_ids = local.ctx.folder_ids
kms_keys = local.ctx.kms_keys
iam_principals = merge(
local.ctx_iam_principals,
lookup(local.self_sas_iam_emails, each.key, {})
)
log_buckets = local.ctx_log_buckets
})
factories_config = {
# we do anything that can refer to IAM and custom roles in this call