This message was deleted.
# general
s
This message was deleted.
w
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
👍, I found those instructions but they want the project file as you say
b
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
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
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