Hi guys,
I am trying to make a vSphere VM module which can support multiple NICs, and the closest example I could find is this one https://discuss.hashicorp.com/t/dynamic-blocks-involving-data-sources/1695/4?u=klin938
However I want to extend that a bit further with the following data structure so that I can set both network ID and adapter_type for multiple interfaces:
networks = [
{
label = "VLAN101"
adapter_type = "vmxnet3"
logical_name = "ens192"
ipv4_address = "192.168.0.89"
ipv4_netmask = "24"
},
{
label = "VLAN180"
adapter_type = "e1000"
logical_name = "ens224"
ipv4_address = "10.0.0.89"
ipv4_netmask = "24"
}
]
Could it even be possible?
Thanks in advance
Cheers
KLIN