pulumi / examples

Infrastructure, containers, and serverless apps to AWS, Azure, GCP, and Kubernetes... all deployed with Pulumi
https://www.pulumi.com
Apache License 2.0
2.33k stars 873 forks source link

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

Open astuyve opened 2 months ago

astuyve commented 2 months ago

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

github-actions[bot] commented 2 months ago

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