-
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
Changing tempalte resource to use file() wants to recreate everything #6037
Comments
Hi @ashb, I think the problem here is related to how The typical workaround for this situation is to also put the However, in your case that won't address the whole problem: you presumably don't want your launch configuration to get recreated here since the There is a workaround for this part too: after you make your change, create a plan with the additional option I'm sorry that you've got caught up here in the combination of two design problems currently present in Terraform. In the long run I think both of these issues will be fixed by the architectural change we've been working on in #4169, which will then make |
Yes, that was the thing that surprised me most. Thanks for the detail on how it works, and thanks for the work around - we'll give it a go. |
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. |
Upon upgrading to Terraform 0.6.14 I now get a warning about
Okay I thought, I'll make that change, it seems simple enough.
Except because for some reason terraform things it needs to delete all the resources cos the template has changed, even though the result is the same I end up with this error.
Resources:
The text was updated successfully, but these errors were encountered: