Skip to content

Instantly share code, notes, and snippets.

@rtrentin73
Created April 15, 2022 14:57
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/5c4f2b7e89d93a31aa67c29dd173b0cf to your computer and use it in GitHub Desktop.
Save rtrentin73/5c4f2b7e89d93a31aa67c29dd173b0cf to your computer and use it in GitHub Desktop.
module "mc-spoke" {
for_each = {
"spoke10" = "spoke10"
"spoke20" = "spoke20"
"ingress" = "ingress"
}
source = "terraform-aviatrix-modules/mc-spoke/aviatrix"
version = "1.1.2"
account = var.account
cloud = var.cloud
name = "gcp-${each.value}-${var.region}"
region = var.region
cidr = var.vpcs["${each.value}"]
inspection = true
transit_gw = module.mc_transit.transit_gateway.gw_name
ha_gw = true
instance_size = var.instance_size
single_az_ha = false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment