diff --git a/terraform.aws/apigateway/main.tf b/terraform.aws/apigateway/main.tf index b79934083..a2064a0e6 100644 --- a/terraform.aws/apigateway/main.tf +++ b/terraform.aws/apigateway/main.tf @@ -165,6 +165,6 @@ resource "aws_lambda_function" "sac_api_gateway_lambda_function" { function_name = "sac-testing-apigw-lambda" role = aws_iam_role.sac_api_gateway_role.arn - runtime = "nodejs12.x" + runtime = "nodejs14.x" handler = "index.test" } \ No newline at end of file diff --git a/terraform.aws/elasticache/main.tf b/terraform.aws/elasticache/main.tf index 01470e208..0d64afc7f 100644 --- a/terraform.aws/elasticache/main.tf +++ b/terraform.aws/elasticache/main.tf @@ -13,6 +13,7 @@ resource "aws_elasticache_cluster" "sac_memcached_cluster" { } resource "aws_elasticache_cluster" "sac_redis_cluster" { + # oak9: Configure the retention days of a snapshot cluster_id = "sac-testing-redis-cluster" engine = "redis" node_type = "cache.t3.small" @@ -29,6 +30,7 @@ resource "aws_elasticache_subnet_group" "elasticache_subnet_group" { } resource "aws_elasticache_replication_group" "sac_replication_group_redis" { + # oak9: Configure the retention days of a snapshot preferred_cache_cluster_azs = ["us-east-2b", "us-east-2c"] replication_group_id = "sac-testing-replication-group-redis" description = "sac testing replication group"