diff --git a/terraform/environments/apex/lambda.tf b/terraform/environments/apex/lambda.tf index f24c83ed6e3..6cfab48d52d 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 = ["nodejs16.x"] + compatible_runtimes = ["nodejs12.x"] } diff --git a/terraform/environments/apex/locals.tf b/terraform/environments/apex/locals.tf index efe49d953cb..db05e05ee60 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 = "nodejs16.x" + snapshotDBFunctionruntime = "nodejs12.x" snapshotDBFunctionfilename = "dbsnapshot.zip" @@ -34,7 +34,7 @@ locals { connectDBFunctionname = "connectDBFunction" connectDBFunctionhandler = "ssh/dbconnect.handler" - connectDBFunctionruntime = "nodejs16.x" + connectDBFunctionruntime = "nodejs12.x" connectDBFunctionfilename = "dbconnect.zip"