Skip to content

Commit

Permalink
[CES-126] - Scale application gateway for wallet (#1196)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Grillo <[email protected]>
  • Loading branch information
christian-calabrese and Krusty93 authored Oct 4, 2024
1 parent 827ba78 commit 7ac3b36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/common/_modules/application_gateway/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -804,8 +804,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
Expand Down
4 changes: 2 additions & 2 deletions src/common/prod/westeurope.tf
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,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
Expand Down

0 comments on commit 7ac3b36

Please sign in to comment.