I keep getting this after a failed pulumi update t...
# general
b
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
cc @incalculable-sundown-82514 and @microscopic-florist-22719.
i
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
using version
0.16.4
i
hmm, that’s unfortunate. Can you open an issue?
b
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
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
ive been editing state files manually, glad to see
delete
is implemented
i
yeah - ideally people never have to do that by hand 😆
b
hmm, whats the syntax for the resource item after
pulumi state delete
? using the full URN doesn’t work
i
pulumi state delete
?
it should just be a URN
b
nvm, didn’t wrap the urn in quotes