When attempting to specify multiple volumes to be added to a new vm instance, if the volumes are configured to be put on different datastores, the plan acts like it is going to do as asked, but when the VM is actually deployed, the virtual disks are instead all on the same datastore.
This DOES work if I manually deploy a VM in the GUI, but not if I deploy it via the TF provider.
Plan Output:
The plan matches what I expect to actually happen - each vdisk on a different datastore
When attempting to specify multiple volumes to be added to a new vm instance, if the volumes are configured to be put on different datastores, the plan acts like it is going to do as asked, but when the VM is actually deployed, the virtual disks are instead all on the same datastore.
This DOES work if I manually deploy a VM in the GUI, but not if I deploy it via the TF provider.
Plan Output:
The plan matches what I expect to actually happen - each vdisk on a different datastore
Expected Result (and works if deploying VM manually in GUI)
vdisk1 located on datastore_id 55 vdisk2 located on datastore_id 51
Actual result
Both vdisk1 and vdisk2 located on datastore_id 55