code: def get_map_config_ids(value, maps, default_map_name=None, default_instances=None):
      
      input_ids = InputConfigIdList(value, map_name=default_map_name, instances=default_instances)
      return list(expand_instances(expand_groups(input_ids, maps), maps))
docs: From a value, which can be a string, a iterable of strings, or MapConfigId tuple(s), generates a list of MapConfigId
      tuples with expanded groups, listing all input or configured instances, and sorted by map and configuration.
  
      :param value: Input value(s).
      :type value: str | unicode | dockermap.map.input.InputConfigId | collection.Iterable[str | unicode | dockermap.map.input.InputConfigId]
      :param maps: Dictionary with expanded container maps, for resolving groups, aliases (``'__all__'``), and configured
        instances in absence of instance specification in the input.
      :param default_map_name: Default map name that is used, in case it is not part of the input.
      :param default_instances: Default instance name list that is used, in case it is not specified in the input.
      :return: List of MapConfigId tuples.
      :rtype: list[dockermap.map.input.MapConfigId]