From 378e8d72f8c5ef8ebaf2bb31f5aaf2f9b25e67ec Mon Sep 17 00:00:00 2001
From: Taha Cherfia <taha.cherfia@holi.team>
Date: Wed, 17 Jul 2024 14:41:54 +0200
Subject: [PATCH] infra: fix HOLI_LIBRETRANSLATE_BASE_URL variable

---
 terraform/environments/deployment.tf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/terraform/environments/deployment.tf b/terraform/environments/deployment.tf
index c87590b..2c56026 100644
--- a/terraform/environments/deployment.tf
+++ b/terraform/environments/deployment.tf
@@ -44,7 +44,7 @@ resource "google_cloud_run_v2_service" "translation_api_service" {
 
       env {
         name  = "HOLI_LIBRETRANSLATE_BASE_URL"
-        value = local.environment == "production" ? "https://staging.libretranslate.apis.holi.social" : "https://production.libretranslate.apis.holi.social"
+        value = local.environment == "production" ? "https://production.libretranslate.apis.holi.social" : "https://staging.libretranslate.apis.holi.social"
       }
 
       resources {
-- 
GitLab