» aviatrix_transit_gateway

The aviatrix_transit_gateway data source provides details about a specific transit gateway created by the Aviatrix Controller.

This data source can prove useful when a module accepts a transit gateway's detail as an input variable. For example, requiring the transit gateway's name for a spoke gateway's attachment.

» Example Usage

# Aviatrix Transit Gateway Data Source
data "aviatrix_transit_gateway" "foo" {
  gw_name = "gatewayname"

» Argument Reference

The following arguments are supported:

  • gw_name - (Required) Transit gateway name.

» Attribute Reference

In addition to all arguments above, the following attributes are exported: