Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Events Rule not a Supported EventSourceMapping #2250

Open
urton opened this issue Jan 24, 2025 · 0 comments
Open

AWS Events Rule not a Supported EventSourceMapping #2250

urton opened this issue Jan 24, 2025 · 0 comments

Comments

@urton
Copy link

urton commented Jan 24, 2025

When trying to add an EventBridge Rule as a Lambda EventSourceMapping, I get the following error:

{
  RespMetadata: {
    StatusCode: 400,
    RequestID: "1f6b5069-a034-4c80-abcb-931fce63775c"
  },
  Message_: "Unrecognized event source. Unsupported source arn : arn:aws:events:us-west-1:*****:rule/my-rule",
  Type: "User"
}

And here's my ESM YAML:

apiVersion: lambda.services.k8s.aws/v1alpha1
kind: EventSourceMapping
metadata:
  name: my-event-source-mapping
  namespace: my-namespace
spec:
  enabled: true
  eventSourceARN: arn:aws:events:us-west-1:*****:rule/my-rule
  functionName: my-function

What is the recommended way to add the required Lambda permission to an Event Rule? Hopefully I am missing something obvious...

@urton urton changed the title AWS Events not a Supported EventSourceMapping AWS Events Rule not a Supported EventSourceMapping Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant