Noob question… How to delete a project? Or maybe ...
# general
s
Noob question… How to delete a project? Or maybe it’s, how to get local pulumi state to match the state on pulumi.com? I deleted a newly created Pulumi project from my local file system. When I tried to recreate it, I got an error saying the project exists. Sure enough, it did on pulumi.com. So I deleted the only stack on the project on pulumi.com, and then the project was also deleted by Pulumi. However, the error in recreating the project still exists on my local machine. So now, I’m not sure how to get my local state to match what’s on Pulumi.
p
can you post the full error message here? (to make sure it complains about Pulumi project and not some cloud resources for example)
b
pulumi stack rm {stackname}
- once all the stacks have been deleted then the project is deleted in the pulumi console
s
@prehistoric-activity-61023 I will post more details as soon as I get a chance. Thx.