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

chore: Replace aws-lambda with @types/aws-lambda #1631

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

astuyve
Copy link
Contributor

@astuyve astuyve commented Apr 13, 2024

aws-lambda is a poorly-named package which is a CLI tool to deploy Lambda functions and includes heavy dependencies (the entire v2 aws-sdk).

It also incidentally includes types for Lambda events.

The correct package for Lambda event types is @types/aws-lambda as per the docs.

This PR adds the correct devDependency and removes the dependency on aws-lambda

Copy link

PR is now waiting for a maintainer to run the acceptance tests.
Note for the maintainer: To run the acceptance tests, please comment /run-example-tests on the PR

Copy link

github-actions bot commented Jan 8, 2025

PR is now waiting for a maintainer to run the acceptance tests.
Note for the maintainer: To run the acceptance tests, please comment /run-example-tests on the PR

@rshade
Copy link
Contributor

rshade commented Jan 10, 2025

/run-example-tests

@rshade rshade changed the base branch from master to types/aws-lambda January 10, 2025 22:28
@rshade
Copy link
Contributor

rshade commented Jan 10, 2025

@astuyve I am going to merge it into this branch so that I can do a new PR so tests will run.

@rshade rshade merged commit 17566cc into pulumi:types/aws-lambda Jan 10, 2025
2 of 40 checks passed
rshade added a commit that referenced this pull request Jan 11, 2025
`aws-lambda` is a [poorly-named
package](https://www.npmjs.com/package/aws-lambda) which is a CLI tool
to deploy Lambda functions and includes heavy dependencies (the entire
v2 `aws-sdk`).

It also incidentally includes types for Lambda events.

The correct package for Lambda event types is `@types/aws-lambda` as per
the

[docs](https://docs.aws.amazon.com/lambda/latest/dg/typescript-handler.html).

This PR adds the correct devDependency and removes the dependency on
`aws-lambda`

Co-authored-by: AJ Stuyvenberg <[email protected]>
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.

2 participants