Network interface ordering

Hello all

I have problem with network interface ordering inside VM.
vSphere provider: 1.17.3

I have next configuration:

resource "vsphere_virtual_machine" "dhcp" {
    ...
# mgmt
network_interface {
	network_id   = data.vsphere_network.mgmt.id
	adapter_type = data.vsphere_virtual_machine.template.network_interface_types[0]
}
# storage
network_interface {
	network_id   = data.vsphere_network.storage.id
	adapter_type = data.vsphere_virtual_machine.template.network_interface_types[0]
}
# appliance
network_interface {
	network_id   = data.vsphere_network.appliance.id
	adapter_type = data.vsphere_virtual_machine.template.network_interface_types[0]
}
# provisioning
network_interface {
	network_id   = data.vsphere_network.provisioning.id
	adapter_type = data.vsphere_virtual_machine.template.network_interface_types[0]
}
# public
network_interface {
	network_id   = data.vsphere_network.public.id
	adapter_type = data.vsphere_virtual_machine.template.network_interface_types[0]
}

disk {
...
}

clone {
	template_uuid = data.vsphere_virtual_machine.template.id

	customize {
		network_interface {
			ipv4_address = var.dhcp_net["mgmt"]["ip"][count.index]
			ipv4_netmask = 24
		}
		network_interface {
			ipv4_address = var.dhcp_net["storage"]["ip"][count.index]
			ipv4_netmask = 24
		}
		network_interface {
			ipv4_address = var.dhcp_net["appliance"]["ip"][count.index]
			ipv4_netmask = 24
		}
		network_interface {
			ipv4_address = var.dhcp_net["provisioning"]["ip"][count.index]
			ipv4_netmask = 24
		}
		network_interface {
			ipv4_address = var.dhcp_net["public"]["ip"][count.index]
			ipv4_netmask = 24
		}

		ipv4_gateway = var.gateways["public"]
		dns_server_list = var.dns
	}
    }
}

So I expected that inside VM configuration will be:
eth0 -> mgmt IP as first declared
eth1 -> storage IP as second declared
eth2 -> appliance IP …
eth3 -> provisioning IP …
eth4 -> public IP as last declared in the config

But I got

provisioning IP on the eth0: 00:50:56:9f:94:79 inet 192.168.40.2/24
mgmt IP on the eth1: 00:50:56:9f:1c:b1 inet 192.168.16.2/24
public IP on the eth2: 00:50:56:9f:69:25 inet 69.x.x.x/24
storage IP on the eth3: 00:50:56:9f:df:56 inet 192.168.24.2/24
appliance IP on the eth4: 00:50:56:9f:c2:44 inet 192.168.32.2/24

So it is possible to have the same order as in the configuration because terraform plan show correct network interface ordering.