We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96ba72e commit 7de42dfCopy full SHA for 7de42df
1 file changed
eventbridge-sns-lambda-terraform/main.tf
@@ -6,7 +6,7 @@ terraform {
6
required_providers {
7
aws = {
8
source = "hashicorp/aws"
9
- version = "~> 3.27"
+ version = "~> 5.0"
10
}
11
12
@@ -103,7 +103,7 @@ resource "aws_lambda_function" "lambda_function" {
103
source_code_hash = data.archive_file.lambda_zip_file.output_base64sha256
104
handler = "app.handler"
105
role = aws_iam_role.lambda_iam_role.arn
106
- runtime = "nodejs16.x"
+ runtime = "nodejs22.x"
107
108
109
@@ -160,4 +160,4 @@ output "SNS-Topic-ARN" {
160
output "Lambda-function" {
161
value = aws_lambda_function.lambda_function.arn
162
description = "TopicSubscriberFunction function name"
163
-}
+}
0 commit comments