def parse_resource_ids(resource_ids: str) -> list:
    """
    Parses a string with comma separated ids to list of ids
    Args:
        resource_ids: Comma separated ids

    Returns:
        A list of ids
    """
    if not resource_ids:
        return []
    id_list = resource_ids.replace(" ", '')
    resourceIds = id_list.split(",")
    return resourceIds