means take ownership of.
If you just want to reference existing resources without taking ownership, you can use
.get(id)
.
t
tall-rose-87315
10/23/2019, 8:44 PM
ah. I missed that. I think maybe I need to take time to read the whole API instead of skimming 🙂
c
cool-egg-852
10/23/2019, 8:52 PM
You can certainly remove a stack without removing the resources
cool-egg-852
10/23/2019, 8:52 PM
I believe it’s
pulumi stack rm -f stack
t
tall-rose-87315
10/23/2019, 9:57 PM
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
cool-egg-852
10/23/2019, 10:23 PM
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.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.