https://pulumi.com logo
b

busy-umbrella-36067

11/27/2018, 11:20 PM
I keep getting this after a failed pulumi update that uses nested Pulumi components. The update will fail to create resources and deletes the parent resource without deleting the dependencies. This then causes subsequent update attempts to fail with that error
w

white-balloon-205

11/27/2018, 11:21 PM
cc @incalculable-sundown-82514 and @microscopic-florist-22719.
i

incalculable-sundown-82514

11/27/2018, 11:24 PM
that’s a bug in Pulumi , unfortunately - what version of Pulumi are you using, and do you have a repro for this?
You can repair your stack by using https://pulumi.io/reference/cli/pulumi_state_delete.html to delete any resources from your checkpoint that the CLI is complaining about, but you will need to delete those resources manually (e.g. in your cloud provider’s console).
b

busy-umbrella-36067

11/27/2018, 11:25 PM
using version
0.16.4
i

incalculable-sundown-82514

11/27/2018, 11:26 PM
hmm, that’s unfortunate. Can you open an issue?
b

busy-umbrella-36067

11/27/2018, 11:28 PM
Yeah, it will be a bit tough to give an exact example to reproduce this but I’ll try to get to it this week.
i

incalculable-sundown-82514

11/27/2018, 11:28 PM
thank you! let us know if we can help at all with getting your stack back into a good state, although this scenario is exactly what we had in mind when we created
pulumi state delete
b

busy-umbrella-36067

11/27/2018, 11:29 PM
ive been editing state files manually, glad to see
delete
is implemented
i

incalculable-sundown-82514

11/27/2018, 11:29 PM
yeah - ideally people never have to do that by hand 😆
b

busy-umbrella-36067

11/27/2018, 11:34 PM
hmm, whats the syntax for the resource item after
pulumi state delete
? using the full URN doesn’t work
i

incalculable-sundown-82514

11/27/2018, 11:34 PM
pulumi state delete
?
it should just be a URN
b

busy-umbrella-36067

11/27/2018, 11:36 PM
nvm, didn’t wrap the urn in quotes