- Newest
- Most votes
- Most comments
EventBridge works with AWS CloudTrail. CloudTrail captures API calls made by or on behalf of your AWS account from the EventBridge console and to EventBridge API operations. Using the information collected by CloudTrail, you can determine what request was made to EventBridge, the IP address from which the request was made, who made the request, when it was made, and more. Alternatively consider using CloudWatch to log you EventBridge activity. For example, setup a new rule that will match all events and as the target define a CloudWatch Log Group. When events are now raised the rules will be captured to the log group. This may be enough to start the debugging exercise and get some insight into what is going on.
AWS documentation also has the following Troubleshooting Amazon EventBridge which may offer some additional avenues to explore.
Answering this for posterity.
CloudTrail provided the answer. In my case the IAM permissions were incorrect. The role used by the EventBridge Rule didn't allow the codebuild:StartBuild
action for the CodeBuild project name. In a previous CFN update, I had updated the name of the CodeBuild project but forgot to update the project name in the IAM rule.
:facepalm:
Relevant content
- Accepted Answerasked a year ago
- asked 7 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 6 months ago
It would be nice if some of the AWS resources would surface these types of results from CloudTrail. For example, EventBridge has a "Monitoring" link in the Rule details. It would be helpful to have a "CloudTrail" link as well, giving a shortcut to the relevant CloudTrail results.