Skip to content

Commit

Permalink
LAWS-3514: changed nodejs version for function and ssh layer to versi…
Browse files Browse the repository at this point in the history
…on 12
  • Loading branch information
tmahmood72 committed Oct 25, 2023
1 parent d2dbb82 commit c3a44f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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 = ["nodejs16.x"]
compatible_runtimes = ["nodejs12.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 = "nodejs16.x"
snapshotDBFunctionruntime = "nodejs12.x"
snapshotDBFunctionfilename = "dbsnapshot.zip"


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

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


Expand Down

0 comments on commit c3a44f0

Please sign in to comment.