From 3e88003ff051f05c346419583152cda0f6649b0c Mon Sep 17 00:00:00 2001 From: Scott Winkler Date: Mon, 28 Dec 2020 07:38:44 -0800 Subject: [PATCH] change provisioned capacity --- modules/database/main.tf | 4 ++-- modules/lambda/main.tf | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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 = {