Skip to content

Instantly share code, notes, and snippets.

@rtrentinavx
Created September 15, 2022 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtrentinavx/32fa6608782ab9a611a0b0e40f9ec80b to your computer and use it in GitHub Desktop.
Save rtrentinavx/32fa6608782ab9a611a0b0e40f9ec80b to your computer and use it in GitHub Desktop.
resource "aviatrix_azure_spoke_native_peering" "user-spoke-west-2" {
count = var.region_active == "west" ? 1 : 0
transit_gateway_name = module.user-west-2-transit.transit_gateway.gw_name
spoke_account_name = var.account
spoke_region = var.region-a
spoke_vpc_id = aviatrix_vpc.azure_vnet_user-spoke-west-2.vpc_id
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment