Skip to content

Conversation

@callumgare
Copy link
Contributor

CloudWatch alarms for a CloudFront distribution have to be created in the same region as the distribution. Since CF distributions have to be created in us-east-1 we have to create the alarm in us-east-1 too. But CloudFormation will not let you directly create a resource in a different region. So we have to special-case a cloudfront alarm and create it with a custom resource which makes it's on api call.

@callumgare callumgare changed the base branch from main to sst-v2 February 5, 2026 06:35
@callumgare callumgare merged commit 4256972 into sst-v2 Feb 10, 2026
2 checks passed
@github-actions
Copy link

🎉 This PR is included in version 2.17.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants