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

when autoscaling group has no instances, all instances in region are selected #4

Open
alexdej opened this issue Nov 19, 2017 · 1 comment

Comments

@alexdej
Copy link

alexdej commented Nov 19, 2017

I observed a kind of strange behavior when using the autoscaling_group decorator: if my autoscaling group has no instances then the command attempts to run on every instance I have in the region (and fails on a terminated instance).

@alexdej
Copy link
Author

alexdej commented Nov 19, 2017

The problem seems to be that ec2_connection.get_all_instances(instance_ids=[]) returns all reservations.

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