I am trying to create a CloudFormation stack in us-east-2 (Ohio) region. However, getting the following error
com.amazonaws.services.cloudfront.model.InvalidLambdaFunctionAssociationException:
The function must be in region 'us-east-1'
I have gone through the below sources and understand that this is a requirement that must be fulfilled by the lambda. My question is why? Why such restriction have been placed? I have looked in the documentations but they only mention the usage of us-east-1 but provide no reasoning!
https://github.com/awslabs/serverless-application-model/issues/635
https://medium.com/@mnylen/lambda-edge-gotchas-and-tips-93083f8b4152