diff --git a/modules/database/main.tf b/modules/database/main.tf index e1fd70d..8015c0f 100644 --- a/modules/database/main.tf +++ b/modules/database/main.tf @@ -12,7 +12,7 @@ resource "aws_rds_cluster" "rds_cluster" { preferred_backup_window = "04:00-07:00" engine_mode = "serverless" scaling_configuration { - max_capacity = 1 - min_capacity = 1 + max_capacity = 2 + min_capacity = 2 } } diff --git a/modules/lambda/main.tf b/modules/lambda/main.tf index bce363d..ce9d2e0 100644 --- a/modules/lambda/main.tf +++ b/modules/lambda/main.tf @@ -65,6 +65,7 @@ resource "aws_lambda_function" "lambda_function" { memory_size = 256 runtime = "go1.x" timeout = 60 + reserved_concurrent_executions = 1 environment { variables = {