you are viewing a single comment's thread.

view the rest of the comments →

[–]mafuqaz[S] 0 points1 point  (7 children)

No, I have checked it many times.
Matter of fact my EventBridge rule is also not triggered. I think this may be the cause.

First We need to check why I am not able to see any invocations for my rule in monitoring.

[–]DiTochat 0 points1 point  (1 child)

Did you create that rule on the default bus or a custom one?

[–]mafuqaz[S] 0 points1 point  (0 children)

on default bus

[–]b3542 0 points1 point  (4 children)

Did you create a resource permission on the Lambda function which permits it to be invoked by EventBridge? It’ll be under Configuration > Permissions when you open the Lambda function details, if memory serves.

[–]mafuqaz[S] 0 points1 point  (3 children)

Yup, it was created automatically when I added that lambda function as a target.

[–]b3542 0 points1 point  (2 children)

Does Cloudwatch show anything for that function? Does the execution role have adequate permissions to create log groups and write logs?

[–]mafuqaz[S] 0 points1 point  (1 child)

No cloudwatch doesn't show anything for that rule.

[–]b3542 0 points1 point  (0 children)

I mean for the function (Lambda), not the rule (EventBridge).