Skip to content

Commit

Permalink
Updating Lambda runtimes (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
joncrain authored May 16, 2023
1 parent d617833 commit 88134dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ resource "aws_lambda_function" "basic_auth_lambda" {
function_name = "${var.name}_basic_auth"
role = aws_iam_role.lambda_execution_role[0].arn
handler = "index.handler"
runtime = "nodejs12.x"
runtime = "nodejs16.x"
timeout = "2"
description = "Protect munki resources via basic auth."
publish = true
Expand Down Expand Up @@ -113,7 +113,7 @@ resource "aws_lambda_function" "lambda" {
function_name = "munki_makecatalogs"
role = aws_iam_role.makecatalogs_lambda[0].arn
handler = "lambda_makecatalogs.event_handler"
runtime = "python3.6"
runtime = "python3.9"
timeout = "180"
description = "Run makecatalogs on the munki repo bucket when a pkginfo or icon item is modified."

Expand Down

0 comments on commit 88134dd

Please sign in to comment.