Skip to content

Commit

Permalink
fix default_instances and maximum_instances
Browse files Browse the repository at this point in the history
  • Loading branch information
silvicir committed Dec 4, 2024
1 parent f0685f6 commit e029e6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/_modules/apim/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ module "apim_v2" {

autoscale = {
enabled = true
default_instances = 3
default_instances = var.migration ? 1 : 3
minimum_instances = var.migration ? 1 : 2
maximum_instances = var.migration ? 1 : 2
maximum_instances = var.migration ? 1 : 6
scale_out_capacity_percentage = 50
scale_out_time_window = "PT3M"
scale_out_value = "1"
Expand Down

0 comments on commit e029e6e

Please sign in to comment.