» aviatrix_trans_peer

The aviatrix_trans_peer resource allows the creation and management of Aviatrix Encrypted Transitive Peering.

» Example Usage

# Create an Aviatrix AWS Transitive Peering
resource "aviatrix_trans_peer" "test_trans_peer" {
  source         = "avtx-us-east-gw1"
  nexthop        = "avtx-us-east-gw2"
  reachable_cidr = "10.152.0.0/16"
}

» Argument Reference

The following arguments are supported:

» Required

  • source - (Required) Name of Source gateway.
  • nexthop - (Required) Name of nexthop gateway.
  • reachable_cidr - (Required) Destination CIDR.

» Import

trans_peer can be imported using the source, nexthop and reachable_cidr, e.g.

$ terraform import aviatrix_trans_peer.test source~nexthop~reachable_cidr