This message was deleted.
s
This message was deleted.
l
Is
pulumi destroy
what you're looking for? This will delete all running cloud services in the stack. But the stack itself, including history and config will still exist.
pulumi stack rm
will delete all history and config for a stack.
m
thanks for the info @lemon-agent-27707 - I think so, funny how obvious that was. I'm still confused though why my devs are commenting out 🤔 what about using a destroy but keeping other things like VPC and subnet setups..? with just the
--target-dependents
option?
l
For foundational resources like VPCs that you never want to delete, it's fairly common to put them in a separate stack, and then use them in another stack via stack references.
👍 5