aws config_error ai_generated true

EventBridge rule is in DISABLED state and not triggering targets

ID: aws/aws-eventbridge-rule-disabled

Also available as: JSON · Markdown
90%Fix Rate
92%Confidence
55Evidence
2023-01-01First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
2 active

Root Cause

EventBridge rule is disabled or event pattern does not match incoming events, so targets are never invoked.

generic

Workarounds

  1. 92% success Enable the rule and verify the event pattern matches incoming events
    aws events enable-rule --name RULE_NAME && aws events test-event-pattern --event-pattern PATTERN --event EVENT_JSON

    Sources: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-troubleshooting.html

  2. 85% success Verify the target has a resource-based policy allowing EventBridge to invoke it
    For Lambda targets: aws lambda get-policy --function-name FUNC to verify events.amazonaws.com has invoke permission

    Sources: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-use-resource-based.html

Dead Ends

Common approaches that don't work:

  1. Create a duplicate rule instead of fixing the existing one 70% fail

    If the event pattern is wrong, the duplicate will have the same issue; also creates management overhead

  2. Check CloudWatch Logs without verifying the rule state first 65% fail

    If the rule is disabled, no events are processed and there will be nothing in logs to find

Error Chain

Preceded by:
Frequently confused with: