Skip to content

Instantly share code, notes, and snippets.

@rtrentin73
Created August 23, 2022 13:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtrentin73/0da75bc09e94fa8239be1e6c170ad163 to your computer and use it in GitHub Desktop.
Save rtrentin73/0da75bc09e94fa8239be1e6c170ad163 to your computer and use it in GitHub Desktop.
module "central-transit" {
source = "terraform-aviatrix-modules/mc-transit/aviatrix"
version = "v2.2.0"
cloud = var.cloud
cidr = var.cidr-region-a
region = var.region-a
account = var.account
enable_transit_firenet = true
enable_bgp_over_lan = true
insane_mode = false
}
module "central-firenet" {
source = "terraform-aviatrix-modules/mc-firenet/aviatrix"
version = "v1.2.0"
transit_module = module.central-transit
firewall_image = var.firewall_image
firewall_image_version = var.firewall_image_version
egress_enabled = false
inspection_enabled = true
instance_size = var.firewall_size
password = var.password
}
module "east-transit" {
source = "terraform-aviatrix-modules/mc-transit/aviatrix"
version = "v2.2.0"
cloud = var.cloud
cidr = var.cidr-region-b
region = var.region-b
account = var.account
enable_transit_firenet = true
enable_bgp_over_lan = true
insane_mode = false
}
module "east-firenet" {
source = "terraform-aviatrix-modules/mc-firenet/aviatrix"
version = "v1.2.0"
transit_module = module.east-transit
firewall_image = var.firewall_image
firewall_image_version = var.firewall_image_version
egress_enabled = false
inspection_enabled = true
instance_size = var.firewall_size
password = var.password
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment