Skip to content

Commit

Permalink
Make more instances in internal environment
Browse files Browse the repository at this point in the history
  • Loading branch information
halprin committed Oct 10, 2024
1 parent e65b5f7 commit c1767f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions operations/template/app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ resource "azurerm_service_plan" "plan" {
location = data.azurerm_resource_group.group.location
os_type = "Linux"
sku_name = local.higher_environment_level ? "P1v3" : "P0v3"
zone_balancing_enabled = local.higher_environment_level
zone_balancing_enabled = true

# below tags are managed by CDC
lifecycle {
Expand Down Expand Up @@ -270,9 +270,9 @@ resource "azurerm_monitor_autoscale_setting" "api_autoscale" {
name = "defaultProfile"

capacity {
default = local.higher_environment_level ? 3 : 1
minimum = local.higher_environment_level ? 3 : 1
maximum = local.higher_environment_level ? 10 : 1
default = 3
minimum = 3
maximum = 10
}

rule {
Expand Down

0 comments on commit c1767f6

Please sign in to comment.