Vsphere Provider - datastore directory for cloned VM?

Hi!

I’m using Terraform to automate a network security lab for a small team and first of all I’d like to say thanks for this great tool!

I have one issue, though, to which I couldn’t find an answer: when cloning a VM out of a content library template, the VM directory always gets created in the root of the specified datastore.

However, I’d like to organize the VMs into sub-directories, i.e. servers, clients and so on.

Is there a way to make Terraform (or vSphere) behave this way?

Thanks
Armin