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

handsome-candle-10543

03/29/2022, 8:30 AM
Hello! I have a problem where i have a parent/child resource pair where the child depends on the parent existing. In a case where the parent has to be replaced, pulumi is trying to delete the parent before creating a new one (delete before replace is not set), but the api call fails because the child is referencing the paret. Is there a way to get around it? In this case it is
awsnative.wafv2.WebAcl
/
awsnative.wafv2.WebAclAssociation
, but i have had similar problems in the past with certificates.
i have tried putting using
parent: webAcl
/
dependsOn: [webAcl]
/
deleteBeforeReplace: true
/`replaceOnChanges: ["*"]` to no avail
5 Views