From 04543b2ff413bbf8ae00d9a792b9625e984f6455 Mon Sep 17 00:00:00 2001 From: Kang-Eunsu Date: Mon, 20 May 2024 07:28:43 +0000 Subject: [PATCH] fix(infra): set connection limit to default again --- apps/infra/modules/codedang-infra/ecs-api-client.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/infra/modules/codedang-infra/ecs-api-client.tf b/apps/infra/modules/codedang-infra/ecs-api-client.tf index 97f39dfdda..0acc9a37f6 100644 --- a/apps/infra/modules/codedang-infra/ecs-api-client.tf +++ b/apps/infra/modules/codedang-infra/ecs-api-client.tf @@ -101,7 +101,7 @@ resource "aws_ecs_task_definition" "client_api" { # database_url = "postgresql://${var.postgres_username}:${random_password.postgres_password.result}@${aws_rds_cluster.cluster.endpoint}:${var.postgres_port}/skkuding?schema=public", # posrgresql (free tier) - database_url = "postgresql://${var.postgres_username}:${random_password.postgres_password.result}@${aws_db_instance.db-test.endpoint}/skkuding?schema=public&connection_limit=30", + database_url = "postgresql://${var.postgres_username}:${random_password.postgres_password.result}@${aws_db_instance.db-test.endpoint}/skkuding?schema=public", ecr_uri = data.aws_ecr_repository.client_api.repository_url, container_port = 4000, cloudwatch_region = var.region,