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

Feature request: Prune Old Versions #7398

Open
driverpt opened this issue Aug 23, 2024 · 2 comments
Open

Feature request: Prune Old Versions #7398

driverpt opened this issue Aug 23, 2024 · 2 comments
Labels
type/feature Feature request

Comments

@driverpt
Copy link

driverpt commented Aug 23, 2024

Describe your idea/feature/enhancement

We should be able to tell SAM CLI to delete AWS Lambda Older Versions (than the ones being deleted) to prevent Resource Excessive Usage.

Proposal

Add a property like:

DeleteOlderVersions: true

Which will set the RetainPolicy of the Version to Delete

We use SnapStart, so we are somehow "protected" against bad versions.

Additional Details

@driverpt driverpt added stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. type/feature Feature request labels Aug 23, 2024
@mildaniel
Copy link
Contributor

Thanks for the suggestion @driverpt. I will bring it to the team, but we're always happy to review designs and are open to contributions!

@mildaniel mildaniel removed the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Aug 26, 2024
@driverpt
Copy link
Author

Do you have any suggestions on where to begin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants