CloudWatch integration creates alerts with malformed links for CloudWatch Events

If there’s a better place for bug reports like this, please let me know.

We want to create alarms in pagerduty when a deployment or build fails in AWS CodePipeline. Codesuite services are monitored with CloudWatch Events aka AWS EventBridge. When we set up an EventBridge rule to submit messages to the SNS topic monitored by the PagerDuty CloudWatch integration, it would create an incident as expected, but the link back to AWS would be wrong. My guess is that it is templated on the assumption that the source is a CloudWatch monitor, not an event.

For now we’ve solved this with a custom transform that builds links back to the failing build or deployment, but a third-party integration we’re not supporting ourselves is probably still preferable.

Support team, please comment? Thanks!

2 Likes