Skip to content

Commit

Permalink
LAWS-3514: changed nodejs from version 12 to 14
Browse files Browse the repository at this point in the history
  • Loading branch information
tmahmood72 committed Oct 25, 2023
1 parent 8e9a10b commit 7a9980b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion terraform/environments/apex/event_triggers.tf
Original file line number Diff line number Diff line change
@@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion terraform/environments/apex/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}


Expand Down
4 changes: 2 additions & 2 deletions terraform/environments/apex/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ locals {

snapshotDBFunctionname = "snapshotDBFunction"
snapshotDBFunctionhandler = "snapshot/dbsnapshot.handler"
snapshotDBFunctionruntime = "nodejs12.x"
snapshotDBFunctionruntime = "nodejs14.x"
snapshotDBFunctionfilename = "dbsnapshot.zip"


Expand All @@ -34,7 +34,7 @@ locals {

connectDBFunctionname = "connectDBFunction"
connectDBFunctionhandler = "ssh/dbconnect.handler"
connectDBFunctionruntime = "nodejs12.x"
connectDBFunctionruntime = "nodejs14.x"
connectDBFunctionfilename = "dbconnect.zip"


Expand Down

0 comments on commit 7a9980b

Please sign in to comment.