This message was deleted.
# getting-started
s
This message was deleted.
b
pulumi stack rm
all the stacks
r
But I'm trying to remove a project, not a stack
b
to remove a project, you remove all stacks from it 🙂
r
Removed all my stacks:
Copy code
pulumi stack ls
NAME  LAST UPDATE  RESOURCE COUNT
And tried the
pulumi new
command again and I still get the error saying that a project with this name already exists: nginx-simple
b
what does
pulumi stack ls -a
show?
r
ohhh that helped shine some light on the situation
Copy code
pulumi stack ls -a   
NAME                           LAST UPDATE  RESOURCE COUNT
organization/nginx-simple/dev  n/a          n/a
weird that it wasn't visible when doing a normal
ls
or even doing
pulumi stack select
b
pulumi stack ls
only shows you the stacks in your current org, you need the
-a
to show everything
r
Well.. I was hopeful, but after explicitly deleting that stack via
pulumi stack rm organization/nginx-simple/dev
and
pulumi stack ls -a
shows no stacks at all:
Copy code
pulumi stack ls -a                                                                                                                                         
NAME  LAST UPDATE  RESOURCE COUNT
Running the
pulumi new aws-typescript -n nginx-simple
command still tells me that
nginx-simple
project exists somehow??
b
There’s likely a directory still in your bucket
r
Ahh that was it! Thanks so much for your help! I probably would have been stuck on this at least another day or two before figuring this out
b
My pleasure!
Reminder that if you use Pulumi enterprise and above you get a dedicated slack channel with help like this 😝