When allow_cross_subscription_peering = true, I get the error below when the module attempts to create the peering in the second Azure subscription.
Error: network.VirtualNetworkPeeringsClient#CreateOrUpdate: Failure sending request: StatusCode=404 -- Original Error: Code="ResourceGroupNotFound" Message="Resource group 'xxx-xxx-xxxx-rg' could not be found."
on .terraform/modules/vnetpeering/main.tf line 50, in resource "azurerm_virtual_network_peering" "vnet_peer_2":
50: resource "azurerm_virtual_network_peering" "vnet_peer_2" {
When allow_cross_subscription_peering = true, I get the error below when the module attempts to create the peering in the second Azure subscription.
Error: network.VirtualNetworkPeeringsClient#CreateOrUpdate: Failure sending request: StatusCode=404 -- Original Error: Code="ResourceGroupNotFound" Message="Resource group 'xxx-xxx-xxxx-rg' could not be found."
on .terraform/modules/vnetpeering/main.tf line 50, in resource "azurerm_virtual_network_peering" "vnet_peer_2": 50: resource "azurerm_virtual_network_peering" "vnet_peer_2" {