Connect cross-tenant VNets to a Virtual Wan hub using terraform

Hi,

Im trying to connect VNET which lives in different tenant to Azure Virtual WAN.
I found this which can connect using powershell.

Im able connect vnets in same tenant using resource azurerm_virtual_hub_connection.

Question is how shall my provider configuration look like so terraform can connect cross-tenant VNets to a Virtual Wan hub?

Will appreciate any input.

1 Like

Don’t think its possible, would be perfect if vhub connections worked similarly to vnet peerings in which there are two different blocks, 1 for each end of the peerings.