Support more filters on "/user/stacks"
Author: FrassleCreated Mar 18, 2022Updated Sep 16, 2026
Labelskind/enhancementneeds-triagepulumi/pulumi
Hello!
- Vote on this issue by adding a reaction
- If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Customer wanted to clear out out old empty stacks. This is doable by querying "/user/stacks" (or using pulumi stack ls --all) and then doing client side filtering on resourceCount and lastUpdate.
Query if it makes sense to add a way to filter on those properties to the service. We could at the very least send back less data and this is possibly indexed and so would be much faster on the DB as well?
Source: pulumi/pulumi