-
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
template_file with count causes instances to be rebuild on increase #5736
Comments
My favorit bug so far. Was reported so may times already in November 2015: #3885 Shame it still gets zero attention from core team |
Hi @MansM, As @Fodoj mentioned this is an implication of the bug being discussed in #3449. This is not being quickly addressed because it represents a tricky architectural challenge for Terraform. To be specific, the diffing code sees that all of the rendered templates are being used in However, for this particular case where it's multiple A potential workaround for this in the mean time is to use the
For now I'm going to close this issue to consolidate discussions in #3449 and #4169 respectively. Thanks for taking the time to file this and I'm sorry that this case is so tricky right now. |
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. |
when I increase var.mastercount from 2 to 3, all 3 the instances are getting recreated.
Terraform v0.6.13
The text was updated successfully, but these errors were encountered: