This message was deleted.
# general
s
This message was deleted.
w
import
means take ownership of. If you just want to reference existing resources without taking ownership, you can use
.get(id)
.
t
ah. I missed that. I think maybe I need to take time to read the whole API instead of skimming 🙂
c
You can certainly remove a stack without removing the resources
I believe it’s
pulumi stack rm -f stack
t
I have #1 stack that deploys the cluster, and then stack #2 that deploys one of the apps to the cluster. I was trying to destroy the app without destroying the cluster.
c
Yeah, you definitely need to use a StackReference then. If you need to fix it for now, you can export the stack, remove the resources, then import the stack.