You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After using terraform for around ten days and discussing different features/workflows with various people in IRC it has become clear that there is no support for refactoring in Terraform. Quote:
09:47 jedineeper: jasonkuhrt: painful :) very painful :)
– @jedineeper
The suggestions I got were:
"tear it down and redeploy it in the new module/code"
"spent a lot more time on a whiteboard sketching out dependencies"
"hacking out some tfstate"
All essentially unacceptable. Even 2 which sounds reasonable is not an admissible replacement for plainly missing refactoring features.
The main issue I have run into is that when I encapsulate (a) resource(s) into a module terraform is unable to resolve the existing state with the new graph.
The text was updated successfully, but these errors were encountered:
Hi there - totally agreed that the current state of the world is unacceptable. We've been discussing this over in #591 - check out the ideas for features to help support refactoring over there.
Closing this to keep the conversation rooted over there - feel free to join in!
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 using terraform for around ten days and discussing different features/workflows with various people in IRC it has become clear that there is no support for refactoring in Terraform. Quote:
The suggestions I got were:
All essentially unacceptable. Even 2 which sounds reasonable is not an admissible replacement for plainly missing refactoring features.
The main issue I have run into is that when I encapsulate (a) resource(s) into a module terraform is unable to resolve the existing state with the new graph.
The text was updated successfully, but these errors were encountered: