This message was deleted.
# general
s
This message was deleted.
b
There is a way... I'm just trying to find the link in the docs
Here we go - you can delete a resource from the state: https://www.pulumi.com/docs/reference/cli/pulumi_state_delete/
To get the urn, you can either run
pulumi stack -u
or
pulumi stack export
(which can be quite verbose so you might want to pipe it to a file)
r
Thanks i think i've found this one but wasn't certain if it will not try to also delete actual resource.
I will give it a try.
l
state delete
won't delete resources.
Once you delete the item from the state, you can safely delete the code from Pulumi. If you don't, Pulumi will re-create or re-import it.