Skip to content

Lambda@Edge example only works on us-east-1 region #635

Closed
@yvele

Description

@yvele

I'm unable to use the Lambda@Edge example with CloudFront being set on an other region than us-east-1.

Because a Lambda@Edge function must be in region us-east-1:

The function must be in region 'us-east-1'. ARN: arn:aws:lambda:eu-west-1:xxxxxx:function:OriginRequestLambdaFunct-xxxxxx:1 (Service: AmazonCloudFront; Status Code: 400; Error Code: InvalidLambdaFunctionAssociation; Request ID: xxxxxx)

Can you please add a Lambda@Edge example workaround, or recommendations that allows CloudFront and Lambda@Edge to be set up on different regions?

Maybe 2 separate Cloudformation templates?

This issue is related to #323 and #565

PS: Other people on Twitter also expresses this needs

image

Edit: Workaround here #635 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions