Commit 8d08ae82 by nadeemshahzad

fix instance cluster monitoring script

parent 83086500
...@@ -18,7 +18,7 @@ def find_active_instances(cluster_file, region): ...@@ -18,7 +18,7 @@ def find_active_instances(cluster_file, region):
cluster_map = yaml.safe_load(f) cluster_map = yaml.safe_load(f)
asg = boto3.client('autoscaling', region) asg = boto3.client('autoscaling', region)
all_groups = asg.describe_auto_scaling_groups() all_groups = asg.describe_auto_scaling_groups(MaxRecords=100)
# dictionary that contains the environment/deployment/cluster triple as the key and the value is a list of the asgs that match the triple # dictionary that contains the environment/deployment/cluster triple as the key and the value is a list of the asgs that match the triple
all_matching_asgs = {} all_matching_asgs = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment