Skip to content

Commit

Permalink
[#IOPID-1765] aligned resources (#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcogabbo authored Apr 23, 2024
1 parent 733c85f commit b277b9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/domains/citizen-auth-app/01_network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ data "azurerm_virtual_network" "common_vnet_italy_north" {

module "session_manager_snet" {
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//subnet?ref=v8.4.0"
name = format("%s-session-manager-snet", local.common_session_manager_project)
name = format("%s-session-manager-snet-001", local.common_session_manager_project)
address_prefixes = var.cidr_subnet_session_manager
resource_group_name = data.azurerm_resource_group.italy_north_common_rg.name
virtual_network_name = data.azurerm_virtual_network.common_vnet_italy_north.name
Expand Down
6 changes: 3 additions & 3 deletions src/domains/citizen-auth-app/08_session_manager.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module "session_manager" {

# App service plan
plan_type = "internal"
plan_name = format("%s-plan-session-manager", local.common_session_manager_project)
plan_name = format("%s-session-manager-plan", local.common_session_manager_project)
sku_name = var.session_manager_plan_sku_name

# App service
Expand All @@ -52,7 +52,7 @@ module "session_manager" {
location = azurerm_resource_group.session_manager_rg.location

always_on = true
node_version = "20-lts"
node_version = "18-lts"
app_command_line = "npm run start"
health_check_path = "/healthcheck"
health_check_maxpingfailures = 3
Expand Down Expand Up @@ -84,7 +84,7 @@ module "session_manager_staging" {
location = azurerm_resource_group.session_manager_rg.location

always_on = true
node_version = "20-lts"
node_version = "18-lts"
app_command_line = "npm run start"
health_check_path = "/healthcheck"

Expand Down

0 comments on commit b277b9e

Please sign in to comment.