def resize_mig(mig, size):
 changed = False
 return_data = []
 actions_filter = ['CREATING', 'DELETING']
 if mig.resize(size):
  changed = True
  return_data = _get_instance_list(mig, filter_list=actions_filter)
 return (changed, return_data)

def resize_mig ( mig , size ) : changed = False return_data = [ ] actions_filter = [ 'CREATING' , 'DELETING' ] if mig . resize ( size ) : changed = True return_data = _get_instance_list ( mig , filter_list = actions_filter ) return ( changed , return_data )
resize a managed instance group .