Skip to content

Commit

Permalink
Updated Lambdas runtime to node 16.x
Browse files Browse the repository at this point in the history
  • Loading branch information
anero committed Aug 24, 2022
1 parent 523760b commit a3b22c6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion loader.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resource "aws_lambda_function" "loader" {
function_name = "controlshift-redshift-loader"
role = aws_iam_role.loader_lambda_role.arn
handler = "index.handler"
runtime = "nodejs12.x"
runtime = "nodejs16.x"
timeout = 900

vpc_config {
Expand Down
2 changes: 1 addition & 1 deletion receiver.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "aws_lambda_function" "receiver_lambda" {
function_name = "controlshift-webhook-handler"
role = aws_iam_role.receiver_lambda_role.arn
handler = "receiver.handler"
runtime = "nodejs12.x"
runtime = "nodejs16.x"
timeout = var.receiver_timeout
source_code_hash = data.archive_file.receiver_zip.output_base64sha256

Expand Down
2 changes: 1 addition & 1 deletion run_glue_crawler.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resource "aws_lambda_function" "glue_crawler_lambda" {
function_name = "controlshift-run-glue-crawler"
role = aws_iam_role.run_glue_crawler_lambda_role.arn
handler = "run-glue-crawler.handler"
runtime = "nodejs12.x"
runtime = "nodejs16.x"
timeout = 60
source_code_hash = data.archive_file.run_glue_crawler_zip.output_base64sha256

Expand Down
2 changes: 1 addition & 1 deletion run_glue_job.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resource "aws_lambda_function" "glue_job_lambda" {
function_name = "controlshift-run-glue-job"
role = aws_iam_role.run_glue_job_lambda_role.arn
handler = "run-glue-job.handler"
runtime = "nodejs12.x"
runtime = "nodejs16.x"
timeout = 60
source_code_hash = data.archive_file.run_glue_job_zip.output_base64sha256

Expand Down

0 comments on commit a3b22c6

Please sign in to comment.