Use path as keys in project factory

This commit is contained in:
Wiktor Niesiobędzki
2025-04-11 16:34:49 +00:00
committed by Wiktor Niesiobędzki
parent 8b9979d93e
commit 086fe2c914
5 changed files with 322 additions and 312 deletions

View File

@@ -37,7 +37,7 @@ module "projects" {
source = "../project"
for_each = local.projects
billing_account = each.value.billing_account
name = each.key
name = each.value.name
parent = lookup(
local.context.folder_ids, each.value.parent, each.value.parent
)