I am trying to deploy a template to a remote esxi host using vpshere-iso, but it fails when locating the folder specified in the json
"builders": [
{
"type": "vsphere-iso",
"vcenter_server": "vcenter",
"insecure_connection": "true",
"username": "username",
"password": "password",
"datacenter": "sitename",
"cluster": "clustername",
"host": "hostname",
"vm_name": "centos7base",
"convert_to_template": "true",
"folder": "template",
"cpu": "1",
"ram": "2048",
"network": "VM Network",
"network_adapter": "e1000",
"guest_os_type": "otherGuest",
"datastore": "datastore name",
"disk_size": "10000",
"iso": "ISO/CentOS-7-x86_64-Minimal-1810.iso",
"iso_datastore": "datastore name"
}
]
}