Terraform - VSphere host_system_id

Hi

I am trying to create vsphere_virtual_machine but I have a doubt.
The paramether host_system_id refers to the host on which to place the virtual machine.
But what about auto-placement of VM in VMWare?
How can I handle the fact that I create a VM on a host, and then the VM is moved to another host automatically by the virtualizator?
Do I have to align manually terraform state and terraform files whenever the virtualizator moves the VMs, or is there a better way to do it?

Thanks in advance

When using a vSphere cluster, if a host_system_id is not supplied, vSphere will select a host in the cluster to place the virtual machine, according to any defaults or vSphere DRS placement policies.

However, host_system_id is required if deploying from OVA.

Hi tenthirtyam
Thanks for your reply.
But what about if I set host_system_id and then VMware move the VM to other host?
Is it better to not set that parameter?
What’s the best practice to follow?
Thanks in advance