Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 10, 2024

Conversation

JanCVanB
Copy link
Contributor

@JanCVanB JanCVanB commented May 10, 2024

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. Access to the actual generated IDs/numbers is necessary for practical use of this module.

I tested this by modifying a clone, but I haven't actually run your tests.

Thank you for recently developing this convenient module!


I acknowledge that I have:

  • Read the contributing guide
  • Ran terraform fmt on all modified files
  • Regenerated the relevant README.md files using tools/tfdoc.py
  • Made sure all relevant tests pass

`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!
@juliocc juliocc enabled auto-merge (squash) May 10, 2024 22:09
@juliocc juliocc merged commit 5b3ed10 into GoogleCloudPlatform:master May 10, 2024
9 checks passed
@JanCVanB JanCVanB deleted the patch-1 branch May 10, 2024 22:35
sruffilli pushed a commit that referenced this pull request May 15, 2024
`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!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants