Skip to content

Commit

Permalink
Merge pull request #572 from companieshouse/feature/update-autoscalin…
Browse files Browse the repository at this point in the history
…g-and-graceperiod-acspweb

updating autoscaling to 70 and health check grace period to 420 secon…
  • Loading branch information
kullas-ch authored Jan 7, 2025
2 parents 8785555 + 66b4765 commit ff62cac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion terraform/groups/ecs-service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module "ecs-service" {
use_task_container_healthcheck = true
healthcheck_path = local.healthcheck_path
healthcheck_matcher = local.healthcheck_matcher
health_check_grace_period_seconds = 300
health_check_grace_period_seconds = 420
healthcheck_healthy_threshold = "2"

# Service performance and scaling configs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ service_scaledown_schedule = "55 19 * * ? *"
service_scaleup_schedule = "5 6 * * ? *"

required_cpus = 512
required_memory = 1024
required_memory = 2048
service_autoscale_target_value_cpu = 70
desired_task_count = 2
max_task_count = 8
min_task_count = 2

0 comments on commit ff62cac

Please sign in to comment.