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

prevent mounting of code if the function uses an image #268

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

pinzon
Copy link
Member

@pinzon pinzon commented Oct 31, 2024

A user reported that the plugin causes LocalStack to fail during a stack update when deploying a Lambda function using an ECR image and mountCode: true is set in the Serverless template's LocalStack configuration.

This PR introduces a validation to disable code mounting when the Lambda function is based on an image, preventing this issue.

@pinzon pinzon changed the title patch mounting of code if the function uses a lamda prevent mounting of code if the function uses an image Oct 31, 2024
@pinzon pinzon merged commit 90a9483 into master Nov 5, 2024
2 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.

1 participant