From e26d959e01b1fa0dd455767e989d33e110a1086e Mon Sep 17 00:00:00 2001 From: Manuel Rafeli Date: Tue, 19 Nov 2024 17:46:40 +0100 Subject: [PATCH] ops: added autoscale_settings vars for MongoDB db PROD (#229) --- .../user-group-ms/env/prod-pnpg/terraform.tfvars | 6 +++++- .../container_apps/user-group-ms/env/prod/terraform.tfvars | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/infra/container_apps/user-group-ms/env/prod-pnpg/terraform.tfvars b/infra/container_apps/user-group-ms/env/prod-pnpg/terraform.tfvars index df12e2ab..116d8494 100644 --- a/infra/container_apps/user-group-ms/env/prod-pnpg/terraform.tfvars +++ b/infra/container_apps/user-group-ms/env/prod-pnpg/terraform.tfvars @@ -53,4 +53,8 @@ secrets_names = { "APPLICATIONINSIGHTS_CONNECTION_STRING" = "appinsights-connection-string" "MONGODB_CONNECTION_URI" = "mongodb-connection-string" "JWT_TOKEN_PUBLIC_KEY" = "jwt-public-key" -} \ No newline at end of file +} + +autoscale_settings = [{ + max_throughput = 1000 +}] \ No newline at end of file diff --git a/infra/container_apps/user-group-ms/env/prod/terraform.tfvars b/infra/container_apps/user-group-ms/env/prod/terraform.tfvars index c5b99c84..1f2b0552 100644 --- a/infra/container_apps/user-group-ms/env/prod/terraform.tfvars +++ b/infra/container_apps/user-group-ms/env/prod/terraform.tfvars @@ -54,4 +54,8 @@ secrets_names = { "APPLICATIONINSIGHTS_CONNECTION_STRING" = "appinsights-connection-string" "MONGODB_CONNECTION_URI" = "mongodb-connection-string" "JWT_TOKEN_PUBLIC_KEY" = "jwt-public-key" -} \ No newline at end of file +} + +autoscale_settings = [{ + max_throughput = 1000 +}] \ No newline at end of file