Skip to content

Feature request: Prune Old Versions #7398

@driverpt

Description

@driverpt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions