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.