Skip to content

Commit

Permalink
Merge branch 'master' into feature/strip-any-host-port
Browse files Browse the repository at this point in the history
  • Loading branch information
wardviaene committed Jun 28, 2021
2 parents 6492960 + bab7a1c commit 771844e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions terraform/envoy-proxy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,15 @@ resource "aws_ecs_service" "envoy-proxy" {
container_port = "10000"
}

dynamic "load_balancer" {
for_each = var.envoy_extra_target_group_arns
content {
target_group_arn = load_balancer.value
container_name = "envoy-proxy"
container_port = "10000"
}
}

dynamic "load_balancer" {
for_each = var.mtls
content {
Expand Down
5 changes: 5 additions & 0 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -257,3 +257,8 @@ variable "envoy_nofile_hard_limit" {
description = "envoy nofile hard limit"
default = 4096
}

variable "envoy_extra_target_group_arns" {
description = "extra target groups to add"
default = []
}

0 comments on commit 771844e

Please sign in to comment.