Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support multiple regions - particularly CloudFront certificates (via stacks?) #565
Since CloudFormation is tied to a single region, if I want to deploy in somewhere like
I expect it would be possible to do this using stacks and exports (or manually.. of course), but not sure if/how I would do this in a 'SAM friendly' way.
If this is already possible, perhaps some documentation/an example of how to do this would be useful?
My current workaround is just to use regional certificates for API Gateway.
We (https://stackery.io) use custom resources to provision CloudFront certificates in us-east-1 even if the stack is created elsewhere. It's probably overkill to include into SAM directly, but it's your best bet for doing non-us-east-1 stacks with CloudFront distributions.
Feel free to reach me at email@example.com if you want any details about how we do it. Or feel free to try Stackery, see how we do it, and replicate the functionality yourself.
@0xdevalias one way to accomplish this is to have a CloudFormation stack in us-east-1 which creates your certificate, and then use