def METHOD_NAME(values):
    values_file_path = tempfile.mktemp(suffix='.yaml')
    with open(values_file_path, 'w') as values_file:
        yaml.dump(values, stream=values_file)
    return values_file_path