green-secretary-98590
02/20/2025, 11:04 PMoutputs
and if there are none, then it should be free to delete. But that doesn't seem right.
If there is not a programatic way, what is the best way to do this in the ui?little-cartoon-10569
02/20/2025, 11:09 PMpulumi stack ls
(optionally with a --cwd
pointing to a project) will list all the stacks in a project, along with the number of managed resources. Any stack with zero resources is safe to delete.little-cartoon-10569
02/20/2025, 11:10 PMpulumi refresh
on each stack first.green-secretary-98590
02/20/2025, 11:13 PMgreen-secretary-98590
02/21/2025, 3:56 PMpulumi refresh
do I have to have to have the respective pulumi up
code on my computer to run? That code is in a bunch of different repos. Or can I somehow just do it by pulling the state of the stack.little-cartoon-10569
02/23/2025, 7:40 PM