Skip to content

Commit

Permalink
fix(infra): restore asg min and desired size (#1955)
Browse files Browse the repository at this point in the history
* feat(infra): add managed scaling option to ecs capacity provider

* feat(infra): modify api service desired count to zero to apply ecs cluster auto scaling

* feat(infra): restore ecs api soft limit

* feat(infra): modify ecs auto scaling target capacity to 100

* fix(infra): modify desired capacity to zero, not service desired count

* fix(infra): modify asg min size to zero to allow desired size

* fix(infra): restore asg min and desired size
  • Loading branch information
ssupecial authored Aug 13, 2024
1 parent 5a965a2 commit 14315bb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ resource "aws_autoscaling_group" "this" {
name = var.autoscaling_group.name
vpc_zone_identifier = [for key in keys(var.subnets) : aws_subnet.this[key].id]

desired_capacity = 0
min_size = 0
desired_capacity = 1
min_size = 1
max_size = var.autoscaling_group.max_size

mixed_instances_policy {
Expand Down

0 comments on commit 14315bb

Please sign in to comment.