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.
white-balloon-205
06/20/2018, 4:52 AM
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 🙂
big-piano-35669
06/20/2018, 3:34 PM
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).
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.