-
-
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
Destruction of worker ASG blocked by protect_from_scale_in = true
#818
Comments
It defaults to |
Thank you for considering this with me. My intent in opening this issue is not to attack but to discuss. I suppose I missed where this behavior is documented in the module for this feature. Where may I find that? When digging into this it seems this variable is directly passed to the provider so perhaps that is where I missed the importance of checking the provider's documentation on the keys in If the problem is that I opened a ticket after changing defaults then why was #812 not treated the same way? Contributing guidelines are where? I'd rather not create problems but contribute to solutions. The readme says "Full contributing guidelines are covered here." which links to https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/CONTRIBUTING.md which is a 404 in my experience and I don't see a |
#812 was a bug in the module caused by a lack of dependency ordering. It was a simple fix. This issue is about an AWS feature and emergent behaviour of the terraform AWS provider, not something the module can fix. This issue has come up at least a couple times before: There is an open issue against the provider: hashicorp/terraform-provider-aws#5278 |
Awesome! Closing this cause it's pointless to have a duplicate issue. Thank you, I completely forgot to search existing issues (closed and open). |
We are all here to discuss, don't worry 💛
This I was not aware of. Interesting. Thanks @dpiddockcmp |
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
Unable to destroy a worker ASG or the cluster because of
protect_from_scale_in = true
. This of course can be changed but that is generally undesirable because one expects that if you can create it you can also destroy it without changing the configuration. :)I'm willing to assist with work on this but figured I'd open a ticket in case someone had thoughts on how to resolve this without making a PR and without changing
protect_from_scale_in
tofalse
when we want to destroy or recreate a worker ASG.I'm submitting a...
What is the current behavior?
Unable to destroy a worker ASG due to:
AWS console shows on the ASG activity history:
If this is a bug, how to reproduce? Please include a code sample if relevant.
Set
protect_from_scale_in
totrue
on this repo, create a cluster, then try to destroy it withterraform destroy
.What's the expected behavior?
Destruction without code change or updating
protect_from_scale_in
.Are you able to fix this problem and submit a PR? Link here if you have already.
Environment details
Any other relevant info
None that I can think of at this time.
The text was updated successfully, but these errors were encountered: