First create a VMware template with Packer then use Terraform to provision VMs from that template
Great medium post by Guillermo Musumeci
Here is his github repo
You can find more instructions in /packer-vsphere-iso-windows/README.md
These have been tested with packer version: 1.6.6