Vsphere_virtual_machine->network_interface, connect option

Under the network interface section, I would like an option to allow for the interface to be present but not connected. I don’t see anything in the doc about doing this, although I suspect it would be a common config.

network_interface {
network_id = data.vsphere_network.kit.id
use_static_mac = “true”
mac_address = “00:50:56:00:${var.kit}:26”
adapter_type = “vmxnet3”
}

Thanks!

1 Like

without having ever used TF+vSphere … something does come to my mind …
go ahead and create the vm with TF, then toggle the network value from the GUI, then do a terraform plan and see which property has changed ?!
if its supported, it would show up in the plan.

#just-a-thought
:smile: