Fix bug from output typo in new project-factory module (#2264)

`local.folders` is just a map of var-based keys to string manipulations on those keys, while `local.hierarchy` is the seemingly-intended map of var-based keys to generated IDs/numbers.

see
https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/master/modules/project-factory/factory-folders.tf#L32
vs.
https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/master/modules/project-factory/factory-folders.tf#L39

Thank you for recently developing this convenient module!
This commit is contained in:
Jan Van Bruggen 2024-05-10 16:19:35 -06:00 committed by GitHub
parent 2b6c81f73d
commit 5b3ed10cda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
output "folders" {
description = "Folder ids."
value = local.folders
value = local.hierarchy
}
output "projects" {