I'm pretty new to TF and just joined a group that uses it heavily... Right now when we build VM's using the VMware provider it randomly picks a host to deploy to and usually it will build all VM's on a single VMhost. What looking for is some guidance on how to define a 5 hosts to use to build 10 VMs and TF would build 2 VM on the 5 hosts defined.
I've viewed the docs here: https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs/resources/compute_cluster_host_group
Which leads me to believe this is possible but I'm not sure how to implement this in my TF module so my plan will distribute to the hosts I decided evenly.
Again any help or direction would be appreciated, thanks in advance.