Skip to content

bug: empty prefix no longer matches eventbridge events #12148

@groves

Description

@groves

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I've been using this pattern to match all events in an EventBridge rule:

{
  "source": [{
    "prefix": ""
  }]
}

I picked it up in https://stackoverflow.com/questions/62406933/aws-eventbridge-pattern-to-capture-all-events.

It worked previously in localstack. In localstack 4.0.3, it no longer matches any events.

Expected Behavior

All events will be matched to the rule with that pattern.

How are you starting LocalStack?

With a docker-compose file

Steps To Reproduce

See #12147

Environment

LocalStack version: 4.0.3

Anything else?

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions