Logical Deployment in vSphere

Hello Team,

I actually deploying the linux servers into Vpshere Datacenter through the terraform script.
my question is when deploying the multi servers into Datacenter, in Vsphere we have multi clusters. So for each server one cluster has tobe allot.
Example under Datacenter we have 3 clusters, i want to deploy 3 servers into each vmware_cluster. so for each server one cluster has to allot.
Note: cluster is vsphere_compute_cluster.

Can we achieve auto assign servers into each cluster ,through any scripts