From 65b6f7f80bfaf0a6d47f64a32b31b8a0f7375689 Mon Sep 17 00:00:00 2001 From: christian-calabrese Date: Fri, 27 Sep 2024 09:57:20 +0200 Subject: [PATCH] feat: scale application gateway for wallet --- src/common/_modules/application_gateway/main.tf | 3 +-- src/common/prod/westeurope.tf | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/common/_modules/application_gateway/main.tf b/src/common/_modules/application_gateway/main.tf index c827d13b1..4c3dae2b1 100644 --- a/src/common/_modules/application_gateway/main.tf +++ b/src/common/_modules/application_gateway/main.tf @@ -803,8 +803,7 @@ module "app_gw" { identity_ids = [azurerm_user_assigned_identity.appgateway.id] # Scaling - # min_capacity = var.min_capacity - app_gateway_min_capacity = "10" + app_gateway_min_capacity = var.min_capacity app_gateway_max_capacity = var.max_capacity alerts_enabled = var.alerts_enabled diff --git a/src/common/prod/westeurope.tf b/src/common/prod/westeurope.tf index 9d15d4cc9..fc21194a6 100644 --- a/src/common/prod/westeurope.tf +++ b/src/common/prod/westeurope.tf @@ -326,8 +326,8 @@ module "application_gateway_weu" { } cidr_subnet = ["10.0.13.0/24"] - min_capacity = 4 # 4 capacity=baseline, 10 capacity=high volume event, 15 capacity=very high volume event - max_capacity = 50 + min_capacity = 20 # 4 capacity=baseline, 10 capacity=high volume event, 15 capacity=very high volume event + max_capacity = 100 alerts_enabled = true deny_paths = ["\\/admin\\/(.*)"] error_action_group_id = module.monitoring_weu.action_groups.error