def _parse_template(template: str) -> str:
    """
    Parse CloudFormation template - YAML to string.
    """
    with open(template) as template_file:
        template_data = template_file.read()
    return template_data