Skip to content

Commit 850ccf8

Browse files
authored
Merge pull request #2817 from kakakakakku/dynamodb-streams-lambda-terraform
dynamodb-streams-lambda-terraform: Update runtime to nodejs22.x
2 parents 0118ebb + 758f7a5 commit 850ccf8

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lambda.zip

dynamodb-streams-lambda-terraform/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ After deployment, add an item to the DynamoDB table. Go to the CloudWatch Logs f
6161
```bash
6262
terraform show
6363
```
64-
```
64+
6565
----
6666
Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
6767

dynamodb-streams-lambda-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 = "~> 3.27"
5+
version = "~> 5.0"
66
}
77
}
88

@@ -40,7 +40,7 @@ resource "aws_lambda_function" "lambda_dynamodb_stream_handler" {
4040
source_code_hash = data.archive_file.lambda_zip_file.output_base64sha256
4141
handler = "index.handler"
4242
role = aws_iam_role.iam_for_lambda.arn
43-
runtime = "nodejs16.x"
43+
runtime = "nodejs22.x"
4444
}
4545

4646
data "archive_file" "lambda_zip_file" {
File renamed without changes.

0 commit comments

Comments
 (0)