splunk / splunk-aws-serverless-apps

Splunk AWS Serverless applications and Lambda blueprints
MIT License
55 stars 61 forks source link

Runtime deprecation issue in 'splunk-kinesis-stream-processor' lambda code #18

Open Vidya-Idexcel opened 3 years ago

Vidya-Idexcel commented 3 years ago

We are trying to create a lambda function using 'Browse serverless app repository' option. The application we are trying to deploy is 'splunk-kinesis-stream-processor'. When we deploy the 'splunk-kinesis-stream-processor' application, it is getting failed throwing runtime error. It is noticed in the template, that by default the application is taking 'nodejs6.10' runtime which is deprecated.

We want the code with latest runtime [Eg : 'nodejs.14.x']

Kindly suggest us a solution to resolve this issue as early as possible.

samfry commented 2 years ago

I had this issue and i just set this all up locally in the end. I have raised this with aws themselves and they are going to try and update the template to the latest nodejs version. If you want to override it you can build it via AWS SAM and you can then change the node.js version yourself or manually copy over everything from the repo and then add it in the lambda. Just need to make sure you import the splunk-logging module in a zip file. Even though with this im still having issues with the code itself. I think it needs a restructure with the node.js version