-
-
Notifications
You must be signed in to change notification settings - Fork 556
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
Destroy ASG when LC is updated in-place #34
Comments
v2.6.0 has been released and it contains the lifecycle which will make sure that ASG is also recreated before deleting old one as described in the link you posted. |
I think what mazzy was trying to tell is that if for instance we use this module for lc and asg creation and we update the lc (for instance the ami), the asg will not get destroyed and re-created. |
So, why was this closed? This module doesn't work as intended (unless I'm missing it's use case) because changes to the LC does does not spawn a new ASG. I'm not sure the 'name_prefix` is the correct option to use. |
Indeed, this issue should be re-open @antonbabenko |
Thank you all for raising this issue here. v2.6.0 added functionality which is not related to this issue and I closed this issue by accident. The proper solution to the current issue can be that we introduce another boolean variable named I will make a PR for this now. |
v2.7.0 has been released. Please test it and report if there is something missing. It is a backward-compatible release, so you should add |
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. |
One nice "trick" is the fact that once you update the LC, you can trigger a creation of a new ASG. This is done by append to the ASG name the reference to the LC. A discussion about this is here. However with the following module if we decide to create both ASG and LC, this couldn't be achieved. There is any reason behind this choice in the design?
The text was updated successfully, but these errors were encountered: