Set `vsphere_virtual_machine` DNS configurations

Hello. I’m a developer in a project named assisted-service, and we use vSphere Terraform provider as a part of our CI.

On our CI jobs we usually creating 3-5 VMs and for each one of them we need to override/add both dns-domain and dns-server under /etc/resolv.conf.
I looked all over the vSphere Terraform documentation and couldn’t find any suitable solution for our use-case.

Here is the definition of vsphere_virtual_machine that uses us to create n masters during our CI.

We basically want to override or add the DNS configuration on resolv.conf.
We currently don’t use template and get the image ISO from external source.

Any idea if it can be done?