https://pulumi.com logo
m

millions-judge-24978

03/06/2020, 9:56 PM
I’m trying to use
pulumi preview -t urn:xxx --target-dependents
where
xxx
is the parent of some subset of my stack, but I’m getting an error:
Copy code
Cannot delete parent resource `xxx` without also deleting child `yyy`
I would have thought
--target-dependents
would fix that. Am I missing something or is this possibly a bug?
f

faint-table-42725

03/06/2020, 10:19 PM
That sounds like a bug. Do you mind filing an issue with more details?
m

millions-judge-24978

03/06/2020, 11:00 PM
I don’t have a minimal code example unfortunately but I created this issue with some more detail: https://github.com/pulumi/pulumi/issues/4032