From 862278c66c3a66a76e75a611c60d3434f9590bb1 Mon Sep 17 00:00:00 2001 From: ssupecial Date: Tue, 13 Aug 2024 14:14:44 +0000 Subject: [PATCH] fix(infra): restore asg min and desired size --- .../codedang/modules/cluster_autoscaling/autoscaling.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/infra/production/codedang/modules/cluster_autoscaling/autoscaling.tf b/apps/infra/production/codedang/modules/cluster_autoscaling/autoscaling.tf index 1418966588..7dad6e8635 100644 --- a/apps/infra/production/codedang/modules/cluster_autoscaling/autoscaling.tf +++ b/apps/infra/production/codedang/modules/cluster_autoscaling/autoscaling.tf @@ -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 {