Hello! I'm trying to clean up a few stack that I h...
# general
g
Hello! I'm trying to clean up a few stack that I have completely botched...
pulumi destroy
takes its time and eventually returns
Retrieving Application with object ID "...": Application was not found
.
pulumi stack rm ...
returns
error: '...' still has resources; removal rejected. Possible actions: ...
Overriding with --force works just fine to get this stack out of my records... But as I understand it the resources themselves will linger on and incur costs? What other way could I go about deleting these stacks and associated resources completely? Thanks!
e
destroy is the way to delete all the resources, but you might want to run
refresh
first to clear out any resources that are already destroyed but pulumi doesn't know are.
g
Thank you, that works great so far. :-)