-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Failing to evaluate module outputs during destroy #33659
Comments
Hi @kbcz1989, Thanks for filing the issue! This is actually the intersection of multiple bugs and behaviors, all combining to make for a very confusing issue.
I'm going to leave this open to see if I can find any other confounding factors, but I think most of the unintended behavior here is due to |
Great information @jbardin, thank you! We are noticing this issue with many providers that require configuration similar to Netbox. I will list some of them here for future reference:
I will read up more on the details you provided as I am not sure I understand the exact issue. It would be very beneficial to have a function similar to coalesce() which would allow returning null as the last resort. |
Sorry, I think I buried the lede there a bit. The
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Version
Terraform Configuration Files
main.tf:
secret/main.tf
Debug Output
gist
Expected Behavior
Destroy should work.
Actual Behavior
Steps to Reproduce
Additional Context
This is probably related to this change.
While this can be fixed with refactoring, it would be really interesting to see what caused it to fail. We are noticing random similar issues with "try/coalesce" functions.
This was working fine up until v1.5.3
References
#33462
The text was updated successfully, but these errors were encountered: