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

Lambda Code is built for every ECRDeployment instance. #220

Open
Xfel opened this issue Jan 10, 2023 · 0 comments
Open

Lambda Code is built for every ECRDeployment instance. #220

Xfel opened this issue Jan 10, 2023 · 0 comments

Comments

@Xfel
Copy link

Xfel commented Jan 10, 2023

ECRDeployment uses lambda.SingletonFunction internally to ensure only one instance of the lambda is deployed per stack; this works fine.

However, it will still run a build of the lambda code for each ECRDeployment instance. This leads to a lot of overhead during build if you use many of them.

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

No branches or pull requests

1 participant