Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

feature: add option to specify number of layer versions to keep #113

Closed
wants to merge 2 commits into from

Conversation

yezarela
Copy link

@yezarela yezarela commented Jun 7, 2022

Hi, would like to have this feature so users can specify number of layer versions to keep.

This feature is needed to avoid old layer versions to take up much storage which was limited by AWS.
As stated in AWS documentation here https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html , there is hard limit of 75GB of uploaded functions + layers storage.

Would like to hear your feedback, Thank you!

Example result:
image

@agutoli
Copy link
Owner

agutoli commented Jun 24, 2022

Hi @yezarela thank you so much for this PR. It is very welcome. Unfortunately, I'm very busy and rarely have time to work on this project. Thanks again.

So, there's an open issue about this:
#47

It would be awesome if we could change the option's name from keepVersion to retainVersions, which is more similar to the native support.

@yezarela
Copy link
Author

@agutoli thanks for responding! sure, i've updated it to use retainVersions.
please kindly check, thanks

@brunocasado
Copy link

would be nice have this feature :)

@agutoli agutoli changed the base branch from master to keep-layers-versions December 26, 2022 00:46
@agutoli agutoli mentioned this pull request Dec 26, 2022
@agutoli
Copy link
Owner

agutoli commented Mar 8, 2024

This feature was already merged.

@agutoli agutoli closed this Mar 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request next-release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants