diff --git a/terraform/environments/apex/event_triggers.tf b/terraform/environments/apex/event_triggers.tf index f19d6c24d4e..5c9bac4614f 100644 --- a/terraform/environments/apex/event_triggers.tf +++ b/terraform/environments/apex/event_triggers.tf @@ -1,7 +1,7 @@ resource "aws_cloudwatch_event_rule" "snapshotDBFunctionmon_sun" { name = "laa-createSnapshotRule-LWN8E1LNHFJR-APEX" description = "Fires every five minutes" - schedule_expression = "cron(51 14 ? * MON-SUN *)" + schedule_expression = "cron(02 15 ? * MON-SUN *)" } resource "aws_cloudwatch_event_target" "snapshotDBFunctioncheck_mon_sun" { diff --git a/terraform/environments/apex/lambda.tf b/terraform/environments/apex/lambda.tf index 6cfab48d52d..3fff3c2658a 100644 --- a/terraform/environments/apex/lambda.tf +++ b/terraform/environments/apex/lambda.tf @@ -62,7 +62,7 @@ resource "aws_lambda_layer_version" "lambda_layer" { s3_bucket = module.s3_bucket_lambda.lambdabucketname s3_key = "nodejs.zip" - compatible_runtimes = ["nodejs12.x"] + compatible_runtimes = ["nodejs14.x"] } diff --git a/terraform/environments/apex/locals.tf b/terraform/environments/apex/locals.tf index db05e05ee60..4e2cc4ab528 100644 --- a/terraform/environments/apex/locals.tf +++ b/terraform/environments/apex/locals.tf @@ -22,7 +22,7 @@ locals { snapshotDBFunctionname = "snapshotDBFunction" snapshotDBFunctionhandler = "snapshot/dbsnapshot.handler" - snapshotDBFunctionruntime = "nodejs12.x" + snapshotDBFunctionruntime = "nodejs14.x" snapshotDBFunctionfilename = "dbsnapshot.zip" @@ -34,7 +34,7 @@ locals { connectDBFunctionname = "connectDBFunction" connectDBFunctionhandler = "ssh/dbconnect.handler" - connectDBFunctionruntime = "nodejs12.x" + connectDBFunctionruntime = "nodejs14.x" connectDBFunctionfilename = "dbconnect.zip"