Hi, I'm trying to update several eventbridge event...
# aws
a
Hi, I'm trying to update several eventbridge event rules in my pulumi stack, but the pulumi update is failing with this error:
Copy code
deleting EventBridge Rule (arn:aws:events:...): ValidationException: Rule can't be deleted since it has targets.
I thought maybe the issue related to
dependsOn
even though the target requires the rule on creation, but explicitly adding the dependency didn't help and it appears that pulumi is trying to delete the rule before the target has been removed. Has anyone else encountered this?
q
Can your share your program or code that reproduces this issue? Pulumi should correctly handle the dependencies if you either implicitly pass an output of the rule to the target or set
dependsOn
, so something seems to be going wrong here
a
Hi @quick-house-41860, I'll work on a repro... but really just wanted to check and see if anyone else knew of an issue here.