https://pulumi.com logo
#general
Title
# general
s

stocky-spoon-28903

06/20/2018, 4:47 AM
Is there a way to forcibly delete a project via the web UI? I accidentally removed the files locally when playing around and now have a bunch of orphaned stuff. The actual resources in AWS I deleted manually, though.
w

white-balloon-205

06/20/2018, 4:49 AM
There is not a button, but if you go to the Settings tab, there are instructions on what you can do from the CLI to remove resources from a stack and/or delete the stack itself - even if you no longer have the original source code.
Actually - looks like maybe the instructions there currently do assume you have the source code (or at least the
Pulumi.yaml
). @bitter-oil-46081 or @square-apartment-28429 can help with making sure the guidance there is correct and covers the case where you don't have the source code locally.
s

stocky-spoon-28903

06/20/2018, 5:04 AM
👍, I found those instructions but they want the project file as you say
b

big-piano-35669

06/20/2018, 3:33 PM
We do have a work item to add a button here, by the way, but that probably won't help you today 🙂
Let me ping @square-apartment-28429 and @bitter-oil-46081, thinking they might be missing the notifications from this Slack
c

colossal-beach-47527

06/20/2018, 3:59 PM
Oh hey! Yes, I totally missed this. As everyone said, there’s a work item (assigned to me). We’ll be adding a “delete” button soon enough. In the mean time, if you don’t have access to the source code, copying a
Pulumi.yaml
file and changing the
project
field to the name of the stack you want to delete should be sufficient. If that doesn’t allow you to
pulumi stack ls
and then
pulumi stack rm
please let me know.
b

bitter-oil-46081

06/20/2018, 4:01 PM
You will probably need to pass
--force
since Pulumi will still believe the stack has resources (even though you’ve cleaned them up manually in AWS).
👍🏽 1