From 778b211b300b5ee1d87de93492bc050d029cfe43 Mon Sep 17 00:00:00 2001 From: Takayuki Ito Date: Wed, 16 Apr 2025 16:56:41 +0900 Subject: [PATCH] chore(splunk-logging): update node version to nodejs22.x --- splunk-logging/lambda.json | 3 +-- splunk-logging/package.json | 2 +- splunk-logging/template.yaml | 4 +--- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/splunk-logging/lambda.json b/splunk-logging/lambda.json index 2a02ce0..54573d8 100644 --- a/splunk-logging/lambda.json +++ b/splunk-logging/lambda.json @@ -2,7 +2,7 @@ "lambda": { "FunctionName": "splunk-logging", "Handler": "index.handler", - "Runtime": "nodejs10.x", + "Runtime": "nodejs22.x", "Description": "Demonstrates logging from AWS Lambda code to Splunk's HTTP event collector", "Environment": { "Variables": { @@ -27,4 +27,3 @@ "roleTemplates": [ ] } - diff --git a/splunk-logging/package.json b/splunk-logging/package.json index c14b62a..673a1db 100644 --- a/splunk-logging/package.json +++ b/splunk-logging/package.json @@ -1,6 +1,6 @@ { "name": "splunk-logging", - "version": "1.0.0", + "version": "1.0.1", "description": "AWS Lambda function blueprint to demonstrate logging from AWS Lambda code to Splunk's HTTP event collector", "main": "index.js", "scripts": { diff --git a/splunk-logging/template.yaml b/splunk-logging/template.yaml index 00eb812..a4cffae 100644 --- a/splunk-logging/template.yaml +++ b/splunk-logging/template.yaml @@ -29,7 +29,7 @@ Resources: Type: 'AWS::Serverless::Function' Properties: Handler: index.handler - Runtime: nodejs10.x + Runtime: nodejs22.x CodeUri: ./splunk-logging.zip Description: Demonstrates logging from AWS Lambda code to Splunk HTTP event collector MemorySize: 512 @@ -38,5 +38,3 @@ Resources: Variables: SPLUNK_HEC_URL: !Ref SplunkHttpEventCollectorURL SPLUNK_HEC_TOKEN: !Ref SplunkHttpEventCollectorToken - - \ No newline at end of file