bgp-over-gre-between-new-tgw-avx-transit

jye-aviatrix/bgp-over-gre-between-new-tgw-avx-transit/aviatrix

Terraform Module HCL AVIATRIX

This module builds Aviatrix Transit Gateways and TGW in the same region, then peer them using BGP over GRE.

Install
module "bgp-over-gre-between-new-tgw-avx-transit" {
source = "jye-aviatrix/bgp-over-gre-between-new-tgw-avx-transit/aviatrix"
version = "1.0.3"
}
plain text: /constructs/tfmod-jye-aviatrix-bgp-over-gre-between-new-tgw-avx-transit-aviatrix/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-aviatrix-bgp-over-gre-between-new-tgw-avx-transit This module builds Aviatrix Transit Gateways and TGW in the same region, then peer them using BGP over GRE. Last tested on: - Terraform v1.2.8 - AWS Provider 4.0 - Aviatrix Provider: 2.23.0 - Aviatrix Controller: 6.8.1149 Steps taken ![](20220913095913.png) - Step A: Create Aviatrix Transit VPC and Transit Gateways, assign ASN - Step B: Create AWS TGW, assign CIDR (For GRE outer IPs), assign ASN - Step C: Create AWS TGW VPC Attachment to Aviatrix Transit VPC - Step D: Create AWS TGW Connect using VPC Attachment as transport - Step E: In Aviatrix Transit VPC, modify subnet Public-gateway-and-firewall-mgmt-1x route table, for TGW CIDR destination, point to TGW - Step F: In AWS TGW Connect, create 4 peers. - First peer point to Aviat

Inputs (10)
NameTypeDescriptionDefault
accountstringThe account name as known by the Aviatrix controller required
cloudstringCloud where this is deployed. Valid values: AWS, Azure, ALI, OCI, GCP"AWS"
avx_transit_gw_namestringProvide Aviatrix Transit Gateway name"ue1transit"
aws_tgw_cidr_blockstringCidr block to be assigned to TGW for GRE connection"192.168.1.0/24"
aws_tgw_BGP_inside_CIDR_ranges_27stringProvide /27 IP range for four TGW BGP inside /29 CIDR"169.254.100.0/27"
regionstringSpecify the region of Aviatrix Transit Gateway and TGW to be deployed"us-east-1"
cidrstringWhat ip CIDR to use for this VPC/VNET/VCN"10.10.10.0/23"
avx_transit_asnnumberProvide ASN number for Aviatrix Transit65010
aws_tgw_asnnumberProvide ASN number for AWS TGW65001
aws_tgw_namestringProvide AWS TGW name"ue1tgw"
Resources (6)
aviatrix_transit_external_device_connaws_ec2_transit_gatewayaws_ec2_transit_gateway_connectaws_ec2_transit_gateway_connect_peeraws_ec2_transit_gateway_vpc_attachmentaws_route
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.3
Cloud AVIATRIX
Total downloads3
Inputs10
Resources6
Namespacejye-aviatrix
Updated