From e9c29bdbd5f516e5929b1ccea14a9130190247c7 Mon Sep 17 00:00:00 2001 From: keith-miller Date: Sat, 21 Sep 2024 10:38:31 -0700 Subject: [PATCH] Adding TRUST_PROXY to the Auth Service environment variables so that it works behind a load balancer --- modules/perforce/helix-authentication-service/main.tf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/perforce/helix-authentication-service/main.tf b/modules/perforce/helix-authentication-service/main.tf index a59de080..431baf61 100644 --- a/modules/perforce/helix-authentication-service/main.tf +++ b/modules/perforce/helix-authentication-service/main.tf @@ -83,7 +83,11 @@ resource "aws_ecs_task_definition" "helix_authentication_service_task_definition name = "ADMIN_ENABLED" value = var.enable_web_based_administration ? "true" : "false" }, - + { + name = "TRUST_PROXY" + value = "true" + }, + ], var.enable_web_based_administration ? [ {