def recreate_instances_in_mig(mig):
 changed = False
 return_data = []
 actions_filter = ['RECREATING']
 if mig.recreate_instances():
  changed = True
  return_data = _get_instance_list(mig, filter_list=actions_filter)
 return (changed, return_data)

def recreate_instances_in_mig ( mig ) : changed = False return_data = [ ] actions_filter = [ 'RECREATING' ] if mig . recreate_instances ( ) : changed = True return_data = _get_instance_list ( mig , filter_list = actions_filter ) return ( changed , return_data )
recreate the instances for a managed instance group .