Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Cloudwatch to Slack Lambda for Node 18 #154

Merged
merged 2 commits into from
Jul 28, 2023

Conversation

coverbeck
Copy link
Contributor

@coverbeck coverbeck commented Jul 27, 2023

Description
Normally the code running on Node 14 would just continue to work, but the AWS Node 18 lambda environment includes AWS SDK v3; the AWS Node 14 has v2. So I upgraded the code to use the newer AWS SDK, as well as refactoring the code a little bit.

I also got rid of unused files that confused me when trying to update this lambda.

This will only work with the companion PR in dockstore-deploy, as that is where the runtime environment for the lambdas is specified.

Issue
SEAB-5759

Security
If there are any concerns that require extra attention from the security team, highlight them here.

Please make sure that you've checked the following before submitting your pull request. Thanks!

  • Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.

SEAB-5759

The Node18 lambda environment includes AWS SDK v3; Node14
had v2.

Also got rid of unused files that confused me when trying
to update this lambda.
@coverbeck coverbeck self-assigned this Jul 27, 2023
cloud-watch-to-slack-testing/deployment/index.js Outdated Show resolved Hide resolved
cloud-watch-to-slack-testing/deployment/index.js Outdated Show resolved Hide resolved
Copy link
Member

@denis-yuen denis-yuen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing checklist item

@coverbeck coverbeck merged commit 8a4c1b4 into develop Jul 28, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants