» aviatrix_aws_tgw_directconnect

The aviatrix_aws_tgw_directconnect resource allows the creation and management of Aviatrix-created AWS TGW DirectConnect connections.

» Example Usage

# Create an Aviatrix AWS TGW Directconnect
resource "aviatrix_aws_tgw_directconnect" "test_aws_tgw_directconnect" {
  tgw_name                   = "my-aws-tgw-1"
  directconnect_account_name = "username"
  dx_gateway_id              = "30321d76-dd01-49bf"
  security_domain_name       = "my-sdn-1"
  allowed_prefix             = "10.12.0.0/24"
}

» Argument Reference

The following arguments are supported:

» Required

» Import

aws_tgw_directconnect can be imported using the tgw_name and dx_gateway_id, e.g.

$ terraform import aviatrix_aws_tgw_directconnect.test tgw_name~dx_gateway_id