-
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
graph refactor causes regression in plan #1047
Comments
Probably related to / fixed by #1046 |
Indeed #1046 did it. Thanks guys. |
Great to hear, thank you for reporting the issue! |
Hmm, seems we are experiencing this again even after #1046 |
Mentioned in PeoplePerHour#11 this is almost the same output as when first opened the ticket after #1010 . Now also an edge node (that is not dependant on the other changes shown in plan) is marked for record change. |
Let me know if you can get more luck in a repro case. I'll keep thinking about it as well. |
TF_LOG @ PeoplePerHour#11 (comment) |
@pmoust Found it, and made a PR to fix here #1086. Note that this will cause your diff to delete two resources. If you look, these resources always existed in the state, but were always ignored. I imagine these are just orphan resources in your infrastructure that you forgot were running since TF never "saw" them, so the diff should be correct. Whew, a doozy. |
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. |
After #1010 with a state built with 0.3.7 some nodes on
terraform plan
are being removed from state and added back in the execution plan, even though the state before plan is fine and matches the actual cloud state.Reverting our terraform build pre #1010 .
I tried to narrow it down to a minified reproducible case, but no luck yet.
What would be optimal way to trace down the graph plan pre and after #1010 TF builds in order to compare?
Setting DEBUG display would suffice?
The text was updated successfully, but these errors were encountered: