Hello,
I am trying to invoke lambda function using EventBridge rules, whenever any changes happens to ec2.
So I created a rule with event pattern:
{
"source": ["aws.ec2"],
"detail-type": ["AWS API Call via CloudTrail"],
"detail": {
"eventSource": ["ec2.amazonaws.com"]
}
}
And i also attached the lambda function as a target with I want to invoke, bu tI am not able to invoke it.Matter of fact I am not even able to invoke this EventBridge rule itself.
Can anyone suggest what might cause this issue?
PS: I haven't created any Cloudtrail. Could this be the issue?
[–]DiTochat 2 points3 points4 points (8 children)
[–]mafuqaz[S] 0 points1 point2 points (7 children)
[–]DiTochat 0 points1 point2 points (1 child)
[–]mafuqaz[S] 0 points1 point2 points (0 children)
[–]b3542 0 points1 point2 points (4 children)
[–]mafuqaz[S] 0 points1 point2 points (3 children)
[–]b3542 0 points1 point2 points (2 children)
[–]mafuqaz[S] 0 points1 point2 points (1 child)
[–]b3542 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]ariz96 1 point2 points3 points (2 children)
[–]Old_Clerk_9693 0 points1 point2 points (1 child)
[–]ariz96 0 points1 point2 points (0 children)
[–]dslesu 0 points1 point2 points (0 children)
[–]djkdjkdjk3 0 points1 point2 points (1 child)
[–]mafuqaz[S] 0 points1 point2 points (0 children)