Open cody2094 opened 1 week ago
@cody2094 it looks like this is the same issue as #1923. The only available workarounds are also the same as in that issue:
The more permanent fix is being tracked in https://github.com/pulumi/pulumi/issues/15982
Awesome -- good to know that there is a workaround aside from deleting and redeploying manually. Thanks for the speedy response
Describe what happened
I have a WAF Web ACL and an association for that ACL that associates it with an application load balancer. The initial deploy of this worked great. However, once I changed the name of the association from
webAclAssociation
toopsWebAclAssociationLB
, the delete and create options seem to step on each others toes. It creates the new association correctly as I can see it in the browser after the state of that action hits "created" in the pulumi up output, but once the deletion finishes it gets rid of the newly created association.In the AWS UI, I noticed the following :
I almost wonder if the same thing is happening with the pulumi create/delete steps here. The new resource association is created which AWS likely approves and auto deletes the previous association. Then, pulumi gets to the delete step on the old association resource, which actually deletes the newly created association?
I was able to solve the problem by commenting out the resource, deploying, and then redeploying after uncommenting again.
Sample program
Log output
The following final log output appears in an order which would almost make you believe the delete happens first -- but the order of live output is definitely creation then deletion
Affected Resource(s)
No response
Output of
pulumi about
@pulumi/aws NPM package is version 6.49.0. Will have to modify ci runner to output the full about if necessary.
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).