serverless-plugin-warmup
serverless-plugin-warmup copied to clipboard
serverless-prune-plugin not working
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.
-
Context
- Plugin Version
- Serverless Framework Version:
[email protected]
-
Steps to Reproduce
- Deploy the service multiple times, creating several versions of a Lambda function.
- Configure serverless-prune-plugin to keep only the latest N versions (e.g., N = 5).
- Deploy again and observe that older versions remain in AWS.
- Expected Behavior
- Older versions beyond the specified N should be removed from AWS.
- Actual Behavior
- The older versions remain in AWS even after the plugin is configured and the service is redeployed.
- Additional Information
- Is there any specific configuration we might be missing to ensure these unused versions are pruned?
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.