Skip to content

Commit 4eb6c72

Browse files
Updated nodejs version and zip for cloudwatchlogs-with-dlq
1 parent 58385bb commit 4eb6c72

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

aws/cloudwatchlogsforwarder/cloudwatchlogsforwarder.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ resource "aws_iam_role_policy_attachment" "invoke_lambda_policy_attachment" {
8080
resource "aws_lambda_function" "logs_lambda_function" {
8181
function_name = "SumoCWLogsLambda-${random_string.aws_random.id}"
8282
handler = "cloudwatchlogs_lambda.handler"
83-
runtime = "nodejs18.x"
83+
runtime = "nodejs22.x"
8484
role = aws_iam_role.lambda_iam_role.arn
8585
s3_bucket = "appdevzipfiles-${local.aws_region}"
86-
s3_key = "cloudwatchLogsDLQ/v1.2.0/cloudwatchlogs-with-dlq.zip"
86+
s3_key = "cloudwatchLogsDLQ/v1.3.0/cloudwatchlogs-with-dlq.zip"
8787
timeout = 300
8888
memory_size = 128
8989
dead_letter_config {
@@ -103,10 +103,10 @@ resource "aws_lambda_function" "logs_lambda_function" {
103103
resource "aws_lambda_function" "process_dead_letter_queue_lambda" {
104104
function_name = "SumoCWProcessDLQLambda-${random_string.aws_random.id}"
105105
handler = "DLQProcessor.handler"
106-
runtime = "nodejs18.x"
106+
runtime = "nodejs22.x"
107107
role = aws_iam_role.lambda_iam_role.arn
108108
s3_bucket = "appdevzipfiles-${local.aws_region}"
109-
s3_key = "cloudwatchLogsDLQ/v1.2.0/cloudwatchlogs-with-dlq.zip"
109+
s3_key = "cloudwatchLogsDLQ/v1.3.0/cloudwatchlogs-with-dlq.zip"
110110
timeout = 300
111111
memory_size = 128
112112
dead_letter_config {

0 commit comments

Comments
 (0)