def _parse_outputs(outputs_data):
    """
    Parses outputs from .tfstate file

    :param outputs_data: dict
    "output": {
         "value": string,
         "type": string
    }

    :return: dict, with the following structure:
    {
        "{name}": string,
    }
    """
    res_outputs = {}

    for name, value_data in outputs_data.items():
        extracted_value = value_data["value"]

        if isinstance(extracted_value, list):
            extracted_value = ", ".join(extracted_value)

        res_outputs.update({name: extracted_value})

    return res_outputs