rough-byte-99113
09/13/2023, 8:46 PMpulumi new aws-typescript -n nginx-simple --dir ./projects/nginx-simple
Then I deleted the ./projects/nginx-simple
directory, then ran the same exact pulumi new
command as before and it's telling me: error: a project with this name already exists: nginx-simple
I checked through the state in the s3 bucket, and I don't see anything related to projects, only stacks. And there's no CLI option to remove or list what projects exist. According to the documentation:
A Pulumi project is any folder which contains aSo why is it that I deleted the directory that contains the project, but the pulumi CLI tells me that the projectfile. When in a subfolder, the closest enclosing folder with aPulumi.yaml
file determines the current project. A new project can be created withPulumi.yaml
. A project specifies which runtime to use and determines where to look for the program that should be executed during deployments. Supported runtimes arepulumi new
,nodejs
,python
,dotnet
,go
, andjava
.yaml
nginx-simple
already exists? Where exactly is it storing the information about what projects have been created? How do I remove nginx-simple
from that list, so I can run pulumi new aws-typescript -n nginx-simple --dir ./projects/nginx-simple
again without receiving an error?billowy-army-68599
pulumi stack rm
all the stacksrough-byte-99113
09/13/2023, 8:47 PMbillowy-army-68599
rough-byte-99113
09/13/2023, 8:52 PMpulumi 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-simplebillowy-army-68599
pulumi stack ls -a
show?rough-byte-99113
09/13/2023, 8:56 PMpulumi stack ls -a
NAME LAST UPDATE RESOURCE COUNT
organization/nginx-simple/dev n/a n/a
ls
or even doing pulumi stack select
billowy-army-68599
pulumi stack ls
only shows you the stacks in your current org, you need the -a
to show everythingrough-byte-99113
09/13/2023, 9:00 PMpulumi stack rm organization/nginx-simple/dev
and pulumi stack ls -a
shows no stacks at all:
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??billowy-army-68599
rough-byte-99113
09/13/2023, 9:04 PMbillowy-army-68599