This message was deleted.
# general
s
This message was deleted.
b
That’s a really good question 👀 I mean you could export the stack, cut the resource you want to preserve from the array, import the stack,
pulumi destroy
and then if wanted export the stack, paste the resource, import stack, done. Though if, as you say other resources depend on this certificate you can’t just cut the resource from the array but have to manually remove the id from the dependencies array of each resource
v
Ahh I didn't know about the `export`/`import` thing, thank you! Though like you mentioned, it has a good number of dependencies so I think I'll just manually delete everything and abandon that stack for now haha
g
You can do a
destroy --target ...
to delete the resources you want to delete without touching the cert.
😍 1
b
😍 @gentle-diamond-70147 that’s super useful, didn’t know about it so far 🎉
👍 1