code: def _dict_to_list_ids(objects):
      '''
      Convert a dictionary to a list of dictionaries, where each element has
      a key value pair {'id': key}. This makes it easy to override pillar values
      while still satisfying the boto api.
      '''
      list_with_ids = []
      for key, value in six.iteritems(objects):
          element = {'id': key}
          element.update(value)
          list_with_ids.append(element)
      return list_with_idf _dict_to_list_ids(objects):
      '''
      Convert a dictionary to a list of dictionaries, where each element has
      a key value pair {'id': key}. This makes it easy to override pillar values
      while still satisfying the boto api.
      '''
      list_with_ids = []
      for key, value in six.iteritems(objects):
          element = {'id': key}
          element.update(value)
          list_with_ids.append(element)
      return list_with_ids
docs: Convert a dictionary to a list of dictionaries, where each element has
      a key value pair {'id': key}. This makes it easy to override pillar values
      while still satisfying the boto api.