Closed jrspinella closed 11 months ago
Refactor peering provider to allow the call module to pass in provider.
Example: LZ Starter: provider "azurerm" { subscription_id = var.subscription_hub_id features {} } provider "azurerm" { alias = "hub" subscription_id = var.subscription_hub_id features {} }
module "mod_ops_network" { providers = { azurerm = azurerm.operations azurerm.hub_network = azurerm.hub } source = "azurenoops/overlays-management-spoke/azurerm" version = "~> 3.0" }
peering.tf
resource "azurerm_virtual_network_peering" "hub_to_spoke" { provider = azurerm.hub_network }
No response
Implemented in Sprint 4
Is there an existing issue for this?
Description
Refactor peering provider to allow the call module to pass in provider.
Example: LZ Starter: provider "azurerm" { subscription_id = var.subscription_hub_id features {} } provider "azurerm" { alias = "hub" subscription_id = var.subscription_hub_id features {} }
module "mod_ops_network" { providers = { azurerm = azurerm.operations azurerm.hub_network = azurerm.hub } source = "azurenoops/overlays-management-spoke/azurerm" version = "~> 3.0" }
New or Affected Resource(s)/Data Source(s)
peering.tf
Potential Terraform Configuration
References
No response