-
Notifications
You must be signed in to change notification settings - Fork 55
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
Error in outputs when removing folders #16
Comments
Yup, seen it happen in other places too, my usual workaround is to comment out outputs until things settle (which admittedly is not always possible). We could remove |
@morgante shall we keepp this open? I don't see a good way of fixing this in a non-disruptive way. |
I think I have a fix. |
Simple and elegant, but I think it gives incorrect outputs in some of the cases it aims at fixing. Read my comment on the PR. |
…lder Fix #16: issue with removing folders
If you remove a folder from the list, it seems to introduce an error. I suspect this is because the resource still exists but the output is being interpolated.
Sample code: https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/master/infra/terraform/test-org/org/folders.tf#L17
Error:
Likely fix is simply to only grab the first n google_folder resources for the zipmap.
The text was updated successfully, but these errors were encountered: