From 070c2dd4a39195ca8df37278f3c280e045b47f6d Mon Sep 17 00:00:00 2001 From: Lucas Li Date: Fri, 27 Sep 2024 16:13:56 -0700 Subject: [PATCH] use placeholder for route53 --- terraform/ecs.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/terraform/ecs.tf b/terraform/ecs.tf index 1fe35a5c7..e45622a7b 100644 --- a/terraform/ecs.tf +++ b/terraform/ecs.tf @@ -184,10 +184,10 @@ resource "aws_ecs_task_definition" "wfprev_client" { name = "WEBADE-OAUTH2_CHECK_TOKEN_V2_URL" value = var.WEBADE-OAUTH2_CHECK_TOKEN_URL }, - # { //Will be phased out from prod eventually, but not yet - # name = "WFPREV_API_URL", - # value = var.target_env == "prod" ? "https://${var.gov_api_url}/" : "https://${aws_route53_record.wfprev_nginx.name}/" - # }, + { //Will be phased out from prod eventually, but not yet "https://${aws_route53_record.wfprev_nginx.name}/" + name = "WFPREV_API_URL", + value = var.target_env == "prod" ? "https://${var.gov_api_url}/" : "https://example.com/" + }, { name = "APPLICATION_ENVIRONMENT", value = var.target_env != "prod" ? var.target_env : " "