We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e90f29 commit 1f78befCopy full SHA for 1f78bef
aws_gate/list.py
@@ -88,6 +88,8 @@ def list_instances(
88
instance_ids = []
89
for response in instances_ssm_response_iterator:
90
for instance in response["InstanceInformationList"]:
91
+ if instance['PingStatus'] != 'Online':
92
+ continue
93
instance_ids.append(instance["InstanceId"])
94
95
instance_details = get_multiple_instance_details(instance_ids=instance_ids, ec2=ec2)
0 commit comments