def get_resource_names_output(resources):
    """
    Creates the output dict with the names of all resources to be created.
    """

    names = [resource['name'] for resource in resources]

    return {'name': 'resources', 'value': names}