From 2af6c5e93b13e3acb3096575212db75c3c43ce09 Mon Sep 17 00:00:00 2001 From: Gabriele Mendolia Date: Thu, 26 Sep 2024 16:28:44 +0200 Subject: [PATCH] [#IOPID-2291] changed scaling rules of lollipop-fn (#1189) --- src/domains/citizen-auth-app/04_function_lollipop.tf | 2 +- src/domains/citizen-auth-app/env/weu-prod01/terraform.tfvars | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/domains/citizen-auth-app/04_function_lollipop.tf b/src/domains/citizen-auth-app/04_function_lollipop.tf index 3f4d03835..57156c50b 100644 --- a/src/domains/citizen-auth-app/04_function_lollipop.tf +++ b/src/domains/citizen-auth-app/04_function_lollipop.tf @@ -6,7 +6,7 @@ data "azurerm_key_vault_secret" "first_lollipop_consumer_subscription_key" { locals { function_lollipop = { app_settings = { - FUNCTIONS_WORKER_PROCESS_COUNT = 4 + FUNCTIONS_WORKER_PROCESS_COUNT = 8 NODE_ENV = "production" // Keepalive fields are all optionals diff --git a/src/domains/citizen-auth-app/env/weu-prod01/terraform.tfvars b/src/domains/citizen-auth-app/env/weu-prod01/terraform.tfvars index 9aa717e70..a23427594 100644 --- a/src/domains/citizen-auth-app/env/weu-prod01/terraform.tfvars +++ b/src/domains/citizen-auth-app/env/weu-prod01/terraform.tfvars @@ -50,7 +50,7 @@ cidr_subnet_fnlollipop = ["10.0.17.0/26"] cidr_subnet_fnlollipop_itn = ["10.20.6.0/26"] function_lollipop_kind = "Linux" function_lollipop_sku_tier = "PremiumV3" -function_lollipop_sku_size = "P1v3" +function_lollipop_sku_size = "P2mv3" function_lollipop_autoscale_minimum = 3 function_lollipop_autoscale_maximum = 20 function_lollipop_autoscale_default = 10