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:
parent
2b6c81f73d
commit
5b3ed10cda
|
@ -16,7 +16,7 @@
|
|||
|
||||
output "folders" {
|
||||
description = "Folder ids."
|
||||
value = local.folders
|
||||
value = local.hierarchy
|
||||
}
|
||||
|
||||
output "projects" {
|
||||
|
|
Loading…
Reference in New Issue