Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix instance state (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaiBapchya authored and marcoabreu committed Oct 22, 2019
1 parent 3e120f5 commit fcc2798
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def _unconnected_instances(nodes: list, instance_uptime: Dict[str, int], ec2_res
dict_starting_nodes: Dict[str, List[str]] = defaultdict(list)
instances_filter = ec2_resource.instances.filter(
Filters=[
{'Name': 'instance-state-name', 'Values': ['starting', 'running']},
{'Name': 'instance-state-name', 'Values': ['pending', 'running']},
{'Name': 'tag:AutoScaledSlave', 'Values': ['True']} # Ensure only listing instances managed by auto scaling
])
for instance in instances_filter:
Expand Down

0 comments on commit fcc2798

Please sign in to comment.