Skip to content

Commit 7de42df

Browse files
committed
eventbridge-sns-lambda-terraform: Update runtime to nodejs22.x
1 parent 96ba72e commit 7de42df

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • eventbridge-sns-lambda-terraform

eventbridge-sns-lambda-terraform/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terraform {
66
required_providers {
77
aws = {
88
source = "hashicorp/aws"
9-
version = "~> 3.27"
9+
version = "~> 5.0"
1010
}
1111
}
1212

@@ -103,7 +103,7 @@ resource "aws_lambda_function" "lambda_function" {
103103
source_code_hash = data.archive_file.lambda_zip_file.output_base64sha256
104104
handler = "app.handler"
105105
role = aws_iam_role.lambda_iam_role.arn
106-
runtime = "nodejs16.x"
106+
runtime = "nodejs22.x"
107107
}
108108

109109

@@ -160,4 +160,4 @@ output "SNS-Topic-ARN" {
160160
output "Lambda-function" {
161161
value = aws_lambda_function.lambda_function.arn
162162
description = "TopicSubscriberFunction function name"
163-
}
163+
}

0 commit comments

Comments
 (0)