aws-samples / amazon-guardduty-to-slack

Demonstrates integrating Amazon GuardDuty with your Slack Channel
MIT No Attribution
132 stars 66 forks source link

Update gd2slack.template to use node20 instead of 16 #31

Closed phundisk closed 7 months ago

phundisk commented 9 months ago

Remove the require('aws-sdk') as no logner needed and update the runtime to node 20 for the lambda

Issue #, if available: https://github.com/aws-samples/amazon-guardduty-to-slack/issues/30

Description of changes: Updating runtime and node code to use nodejs 20 since node16 will be EOL soon by AWS

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

jdsmithit commented 7 months ago

@hyandell any chance this could go in? Tested works fine