-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
External volume get destroyed on instance increas #122
Comments
I have fixed the destroy of the volume by putting the AZs into a variable.
|
But the aws_volume_attachment of the existing instance get still a forces replacement if i increase the instance_count
|
@hniemann I think you can try to use Check this for more details - https://www.terraform.io/docs/configuration/resources.html#when-to-use-for_each-instead-of-count This is not a bug of the module, so I am closing this issue. |
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 use this module and attach a external volume as shown in the examples.
But when I increase the instance_count the volume get destroyed and recreated.
ERROR
The text was updated successfully, but these errors were encountered: