lemon-vase-32091
03/29/2021, 1:43 PMpulumi stack ls -p $PROJECT
and destroy whatever is redundant.
Is there an easy way to list all projects for my organisation using the cli or api (couldn't find such cmd)?
Also using pulumi stack ls -a
could be a good for the job, but it is limited to 300 results and we currenly have >3000.brave-planet-10645
03/29/2021, 1:54 PMlemon-vase-32091
03/29/2021, 1:55 PMbrave-planet-10645
03/29/2021, 1:56 PMcurl \
-H 'Accept: application/vnd.pulumi+3' \
-H 'Authorization: token abcdefghijklmnopqrstuvwxyz' \
-H 'Content-Type: application/json' \
<https://api.pulumi.com/api/user/stacks>
?organization=org-name&project=gke-app-test
lemon-vase-32091
03/29/2021, 1:59 PMbrave-planet-10645
03/29/2021, 2:00 PMlemon-vase-32091
03/29/2021, 2:19 PMbrave-planet-10645
03/29/2021, 2:22 PM