https://pulumi.com logo
s

sparse-apartment-71989

08/03/2021, 4:13 PM
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

prehistoric-activity-61023

08/03/2021, 4:33 PM
can you post the full error message here? (to make sure it complains about Pulumi project and not some cloud resources for example)
b

brave-planet-10645

08/03/2021, 4:35 PM
pulumi stack rm {stackname}
- once all the stacks have been deleted then the project is deleted in the pulumi console
s

sparse-apartment-71989

08/03/2021, 8:13 PM
@prehistoric-activity-61023 I will post more details as soon as I get a chance. Thx.