0
votes

Codebuild is used to build a project from a repository and deploy it to s3. I want to pass data/information that is processed in codebuild to cloudwatch event so that I can send the notification with that information for pass as well as failed build. Is there a way to send data ($variables) processed in codebuild in cloudwatch event rule or any other way?

I have the rule, topic, and email working.... but I see no way to pass any extra data than what is supplied by CodeBuild.

For example: I have some environment variables in code build and I need to send these as a part of my notification which will help me determine what value caused the failure of build.