Created
June 9, 2022 19:16
-
-
Save rtrentin73/147534374c2d62da2f12f56e07a85847 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module "mc_transit" { | |
depends_on = [ | |
aviatrix_vpc.gcp-bgpolan | |
] | |
source = "terraform-aviatrix-modules/mc-transit/aviatrix" | |
version = "v2.1.2" | |
cloud = var.cloud | |
cidr = var.vpcs["firenet"] | |
region = var.region | |
account = var.account | |
enable_transit_firenet = true | |
lan_cidr = var.vpcs["lan"] | |
enable_bgp_over_lan = true | |
bgp_lan_interfaces = [{ | |
vpc_id = "avx-bgpolan-us-central1", | |
subnet = "172.22.18.0/23"}] | |
ha_bgp_lan_interfaces = [{ | |
vpc_id = "avx-bgpolan-us-central1", | |
subnet = "172.22.18.0/23"}] | |
} | |
module "firenet_1" { | |
source = "terraform-aviatrix-modules/mc-firenet/aviatrix" | |
version = "1.1.0" | |
transit_module = module.mc_transit | |
firewall_image = var.firewall_image | |
firewall_image_version = var.firewall_image_version | |
bootstrap_bucket_name_1 = var.storage_bucket_name | |
egress_cidr = var.vpcs["egress"] | |
egress_enabled = false | |
inspection_enabled = true | |
instance_size = var.instance_size | |
mgmt_cidr = var.vpcs["mgmt"] | |
password = var.password | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment