Hey Stephen,
You can write whatever file content you like, though there aren't any helpers for serializing YAML - you'll have to actually write the YAML content yourself, e.g.,
{
"file": {
"template": "clusters:\n {{ cluster }}:\n address: {{ address }}\n port: {{ port }}\n username: {{ username }}\n password: {{ password }}"
},
"env": {
"NUTANIX_YML_PATH": "{{ tower.filename }}"
}
}
etc...