https://pulumi.com logo
#general
Title
# general
b

better-secretary-59658

06/02/2021, 11:37 PM
I am running into a simple issue with a resource referring to a missing parent. How would I proceed in updating the rest of the stack?
l

little-cartoon-10569

06/02/2021, 11:56 PM
Do you mean the parent attribute of resource A is pointing at resource B, which is in code but not in your state?
Can you say if each resource is in code, state and/or the provider?
b

better-secretary-59658

06/03/2021, 3:37 PM
The resource is in the code, but not in the provider
l

little-cartoon-10569

06/03/2021, 9:27 PM
Which resource? The missing parent, or the child referring to it? You will probably need to temporarily break references, add aliases and maybe even edit the stack by hand. The solution depends on how it's broken.