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

Add generateDefaultAlias flag #124

Open
wants to merge 1 commit into
base: 2.3.5-SNAPSHOT
Choose a base branch
from

Conversation

mkavalecz
Copy link

AWS Lambda hase a sum code size limit of 75GB.
Every new version of a lambda function goes towards this limit.
There are multiple cleanup scripts on the internet that can be used to clean old versions of lambda functions, none of which can delete a version when there are aliases set for it.
Aliases should generally only be used when we want to preserve a specific version for whatever reason.

This flag makes it possible to NOT generate an alias while uploading, unless one is explicitly set with the tag.
The default functionality is unchanged, so it's backwards compatible, it only has effect when configured.

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