I've done the following and not sure how to fix it...
# general
e
I've done the following and not sure how to fix it: 1) Created a project 2) Created a stack 3) Deleted the project code in an unrecoverable way 4) Can't figure out how to delete the stack Any pointers? Is there a console way to delete it?
i
I believe this works:
Copy code
pulumi stack select <your stack>
pulumi config refresh
pulumi destroy
pulumi stack rm
let me try it too
m
You may need to be in a directory with a
Pulumi.yaml
file
e
What would the yaml look like?
n/m grabbed a neighboring yaml
i
cool - the commands I posted just worked for me with a Pulumi.yaml in the directory
there is a console way to delete a stack, I believe, but it’s a little dangerous in that it doesn’t delete any active resources in the stack. This method deletes all resources and then the stack itself
e
The
pulumi stack select
is hanging. Is it expected to take longer than 1 min?
i
hmm, no, I’d expect it to be quite fast.
is it still stuck?
e
Had a network issue right then, worked later on. thanks!