-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 fails when protect_from_scale_in = true #288
Comments
Thanks for the Kudos 💜 Please see #176 In short: You can't have |
@max-rocket-internet we can now use |
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 have issues
I'm submitting a...
What is the current behavior?
autoscaling_enabled = true
, thereforeprotect_from_scale_in = true
If this is a bug, how to reproduce? Please include a code sample if relevant.
AWS logs indicate that there is an attempt to scale the ASG to zero before deleting - but this cannot be done because
protect_from_scale_in = true
.Terraform is wedged until timeout.
What's the expected behavior?
ASG and instances are removed.
Are you able to fix this problem and submit a PR? Link here if you have already.
I can manually remove the ASG and instances, but it would be great if this case was handled. Sorry but not knowledgable enough about the module to submit a PR.
Environment details
Any other relevant info
Many thanks for the module and the frequent updates!
The text was updated successfully, but these errors were encountered: