you can delete the resource from the state, which means it won't remove it
billowy-army-68599
11/05/2021, 1:18 AM
do
pulumi stack --show-urns
to get the urn of the resource you don't want to have managed
billowy-army-68599
11/05/2021, 1:18 AM
then
pulumi state delete ${urn}
a
abundant-book-94104
11/05/2021, 1:40 AM
Ok, thanks that's nice you can take out a resource individually in that way and it can be deleted locally from the stack without breaking your cloud service resource
abundant-book-94104
11/05/2021, 1:43 AM
I'm getting an error when running this in ubuntu wsl on Windows 10 pulumi stack --show-urns -v 9 --tracing /mnt/c/Dev/scratch/pulumi.trc --logtostderr
I1105 114118.099682 685 sink.go:154] defaultSink::Error(error: lstat /mnt/c/DumpStack.log.tmp: permission denied)
error: lstat /mnt/c/DumpStack.log.tmp: permission denied It doesn't write anything in the trace file
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.