'Returns a list of ELBs associated with self.instance_id
indirectly through its auto scaling group membership'

def _get_auto_scaling_group_lbs(self):

    try:
        asg = connect_to_aws(boto.ec2.autoscale, self.region, **self.aws_connect_params)
    except (boto.exception.NoAuthHandlerFound, AnsibleAWSError) as e:
        self.module.fail_json(msg=str(e))
    asg_instances = asg.get_all_autoscaling_instances([self.instance_id])
    if (len(asg_instances) > 1):
        self.module.fail_json(msg='Illegal    state,    expected    one    auto    scaling    group    instance.')
    if (not asg_instances):
        asg_elbs = []
    else:
        asg_name = asg_instances[0].group_name
        asgs = asg.get_all_groups([asg_name])
        if (len(asg_instances) != 1):
            self.module.fail_json(msg='Illegal    state,    expected    one    auto    scaling    group.')
        asg_elbs = asgs[0].load_balancers
    return asg_elbs
