» aviatrix_azure_spoke_native_peering

The aviatrix_azure_spoke_native_peering resource allows the creation and management of Aviatrix-created Azure Spoke VNet attachments via Native Peering.

» Example Usage

# Create an Aviatrix Azure spoke native peering
resource "aviatrix_azure_spoke_native_peering" "test" {
  transit_gateway_name = "transit-gw-azure"
  spoke_account_name   = "devops-azure"
  spoke_region         = "West US"
  spoke_vpc_id         = "Foo_VNet:Bar_RG"

» Argument Reference

The following arguments are supported:

» Required

  • transit_gateway_name - (Required) Name of an Transit FireNet-enabled Azure transit gateway.
  • spoke_account_name - (Required) An Aviatrix account that corresponds to a subscription in Azure.
  • spoke_region - (Required) Spoke VNet region. Example: "West US".
  • spoke_vpc_id - (Required) Combination of the Spoke's VNet name and resource group. Example: "Foo_VNet:Bar_RG".

» Import

azure_spoke_native_peering can be imported using the transit_gateway_name, spoke_account_name and spoke_vpc_id, e.g.

$ terraform import aviatrix_azure_spoke_native_peering.test transit_gateway_name~spoke_account_name~spoke_vpc_id