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

Support project-wide prune (account prune with option) #14

Open
HyperBrain opened this issue Apr 25, 2016 · 1 comment
Open

Support project-wide prune (account prune with option) #14

HyperBrain opened this issue Apr 25, 2016 · 1 comment

Comments

@HyperBrain
Copy link

When working with different people/teams in an AWS account it is not very helpful to have account wide pruning only.

Imagine some developers doing experiments on a test project (where lots of old test lambdas can remain) a project wide pruning would be very helpful.

The prune plugin should only prune functions contained in the active project by default, but when started with --all or --account prune everything everywhere.

@jasich
Copy link

jasich commented Jun 1, 2016

@HyperBrain I think I'm in agreement with what you're saying. It looks like the plugin prunes every lambda it can find. It looked like it was pruning lambda functions that weren't even in the project I was running it in. You're saying that it should be scoped to only the current project and have a separate flag that causes it to prune everything every where right? If so, Yeah 💯

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