From cd75d2c858789c1ea57d765d67bf3b8e0fff47ce Mon Sep 17 00:00:00 2001 From: tajewole-moj Date: Thu, 2 Nov 2023 10:10:32 +0000 Subject: [PATCH] event trigger changed time v1 nodejs version changed --- terraform/environments/apex/event_triggers.tf | 2 +- terraform/environments/apex/locals.tf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform/environments/apex/event_triggers.tf b/terraform/environments/apex/event_triggers.tf index a24fcb534bf..2cfe6afcae6 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-${local.application_name}-${local.environment}-mp" description = "Daily snapshots of Oracle volumes" - schedule_expression = "cron(57 09 ? * MON-SUN *)" + schedule_expression = "cron(16 10 ? * MON-SUN *)" } resource "aws_lambda_permission" "allow_cloudwatch_to_call_check_mon_sun" { statement_id = "AllowExecutionFromCloudWatch" diff --git a/terraform/environments/apex/locals.tf b/terraform/environments/apex/locals.tf index 155213cc294..871790a45d3 100644 --- a/terraform/environments/apex/locals.tf +++ b/terraform/environments/apex/locals.tf @@ -13,7 +13,7 @@ locals { #Lambda Function creation snapshotDBFunctionname = "snapshotDBFunction" snapshotDBFunctionhandler = "snapshot/dbsnapshot.handler" - snapshotDBFunctionruntime = "nodejs14.x" + snapshotDBFunctionruntime = "nodejs18.x" snapshotDBFunctionfilename = "dbsnapshot.zip" deletesnapshotFunctionname = "deletesnapshotFunction" @@ -23,7 +23,7 @@ locals { connectDBFunctionname = "connectDBFunction" connectDBFunctionhandler = "ssh/dbconnect.handler" - connectDBFunctionruntime = "nodejs14.x" + connectDBFunctionruntime = "nodejs18.x" connectDBFunctionfilename = "dbconnect.zip" #layer config