Skip to content

Commit

Permalink
exposed internal routing through the main deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
kpantos committed Nov 14, 2024
1 parent d6c8b5f commit f9a5923
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions scenarios/aca-internal/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ module "spoke" {
jumpboxSubnetAddressPrefix = var.vmJumpBoxSubnetAddressPrefix
firewallPrivateIp = module.hub.firewallPrivateIp
tags = var.tags
routeSpokeTrafficInternally = var.routeSpokeTrafficInternally
}

module "supportingServices" {
Expand Down
6 changes: 6 additions & 0 deletions scenarios/aca-internal/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -304,4 +304,10 @@ variable "workloadProfiles" {
minimum_count = number
maximum_count = number
}))
}

variable "routeSpokeTrafficInternally" {
type = bool
default = false
description = "Optional, default value is false. If true, the spoke network will route spoke-internal traffic within the spoke network. If false, traffic will be sent to the hub network."
}

0 comments on commit f9a5923

Please sign in to comment.