-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
0.9.2 panic instead of cycle error #13565
Comments
Looks like the apply operation is returning a nil state during destroy, which panics in WriteState. |
I have a PR pending that will hopefully fix the crash you're seeing, but I haven't been able to reproduce your specific case yet. I have a feeling that you'll still have an error, probably the same cycle error, after this fix. If that's the case, it would be great if you could open a new issue with any info on how to reproduce the graph cycle on destroy. Thanks! |
@jbardin Thanks! My expectation isn't that the cycle error is fixed, but that the exception was caught without causing a panic, seems like you fixed that, perfect! |
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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I just upgraded my terraform plans to 0.9.2 from 0.8.2. In 0.8.2 I encountered a cycle error when running a destroy, however, in 0.9.2 the cycle error is replaced with a panic.
Terraform Version
Terraform v0.9.2
Panic Output
Crash.log: https://gist.github.com/gerr1t/eea1fdc318f711dff17f3f98cd2edcfd
Expected Behavior
Either the cycle error to be gone, or to present me with a cycle error.
Actual Behavior
A panic.
The text was updated successfully, but these errors were encountered: