Skip to content
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

TerminateInstanceInAutoScalingGroup: Swallow case where instance was already terminated #51

Open
Jc2k opened this issue Jul 14, 2015 · 0 comments

Comments

@Jc2k
Copy link
Member

Jc2k commented Jul 14, 2015

If TerminateInstanceInAutoScalingGroup is called and an instance was already deleted the error is:

ClientError: An error occurred (ValidationError) when calling the TerminatedInstanceInAutoScalingGroup operation: Instance Id not found - No managed instance found for instance ID .*

Capture it and ignore it (perhaps log it was already terminated) - it means we don't need to do anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant