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

serverless-prune-plugin not working #358

Open
yo-ga opened this issue Jan 8, 2025 · 1 comment
Open

serverless-prune-plugin not working #358

yo-ga opened this issue Jan 8, 2025 · 1 comment

Comments

@yo-ga
Copy link

yo-ga commented Jan 8, 2025

Hi,

We're currently using the serverless-prune-plugin to remove unused Lambda function versions, but we've encountered an issue where the plugin does not delete the previous unused versions of the warmup function as expected.

  1. Deploy the service multiple times, creating several versions of a Lambda function.
  2. Configure serverless-prune-plugin to keep only the latest N versions (e.g., N = 5).
  3. Deploy again and observe that older versions remain in AWS.
  • Expected Behavior
  1. Older versions beyond the specified N should be removed from AWS.
  • Actual Behavior
  1. The older versions remain in AWS even after the plugin is configured and the service is redeployed.
  • Additional Information
  1. Is there any specific configuration we might be missing to ensure these unused versions are pruned?
@juanjoDiaz
Copy link
Owner

Hi @yo-ga ,

I don't use serverless-prune-plugin so I have no idea how that plugin works or why it doesn't work in this case.

@juanjoDiaz juanjoDiaz changed the title Prune the previous unused version serverless-prune-plugin not working Jan 26, 2025
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

No branches or pull requests

2 participants