Skip to content

Instantly share code, notes, and snippets.

@rtrentin73
Created August 23, 2022 12: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/e79734369159caa7a6d33ee475742b1c to your computer and use it in GitHub Desktop.
Save rtrentin73/e79734369159caa7a6d33ee475742b1c to your computer and use it in GitHub Desktop.
resource "aviatrix_gateway" "ingress-gw-east" {
cloud_type = "8"
account_name = var.account
gw_name = "ingress-gw-east"
gw_size = var.gw_size
vpc_id = module.ingress-spoke-east.vpc.vpc_id
vpc_reg = var.region-b
subnet = module.ingress-spoke-east.vpc.public_subnets[1].cidr
}
resource "aviatrix_gateway" "ingress-gw-central" {
cloud_type = "8"
account_name = var.account
gw_name = "ingress-gw-central"
gw_size = var.gw_size
vpc_id = module.ingress-spoke-central.vpc.vpc_id
vpc_reg = var.region-a
subnet = module.ingress-spoke-central.vpc.public_subnets[1].cidr
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment