def create_mig(gce, params):
 changed = False
 return_data = []
 actions_filter = ['CREATING']
 mig = gce.ex_create_instancegroupmanager(name=params['name'], size=params['size'], template=params['template'], zone=params['zone'])
 if mig:
  changed = True
  return_data = _get_instance_list(mig, filter_list=actions_filter)
 return (changed, return_data)

def create_mig ( gce , params ) : changed = False return_data = [ ] actions_filter = [ 'CREATING' ] mig = gce . ex_create_instancegroupmanager ( name = params [ 'name' ] , size = params [ 'size' ] , template = params [ 'template' ] , zone = params [ 'zone' ] ) if mig : changed = True return_data = _get_instance_list ( mig , filter_list = actions_filter ) return ( changed , return_data )
creates mig .