Skip to content

Commit c02a445

Browse files
committed
lambda-sqs-terraform: Update runtime to nodejs22.x
1 parent 621d24c commit c02a445

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lambda-sqs-terraform/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = "~> 4.22"
5+
version = "~> 5.0"
66
}
77
}
88

@@ -22,7 +22,7 @@ resource "aws_lambda_function" "lambda_function" {
2222
source_code_hash = data.archive_file.lambda_zip_file.output_base64sha256
2323
handler = "app.handler"
2424
role = aws_iam_role.lambda_iam_role.arn
25-
runtime = "nodejs16.x"
25+
runtime = "nodejs22.x"
2626
environment {
2727
variables = {
2828
SQSqueueName = aws_sqs_queue.sqs_queue.url

0 commit comments

Comments
 (0)