Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EdgeAuthFunction fails #13

Open
nmflavio opened this issue Dec 1, 2021 · 1 comment
Open

EdgeAuthFunction fails #13

nmflavio opened this issue Dec 1, 2021 · 1 comment

Comments

@nmflavio
Copy link

nmflavio commented Dec 1, 2021

Embedded stack arn:aws:cloudformation:us-east-1:075322910062:stack/auth-at-edge3-LambdaAtEdge-XXPTTG24SVQC/22ec28e0-52c5-11ec-89c0-12b7ccc51f57 was not successfully created: The following resource(s) failed to create: [EdgeAuthFunction].

@fgerardwltn24
Copy link

It fails because of deprecated node version.
Quickfix, until it is resolved:
You can fix this for - you - by changing the root template file and the embedded edge-auth template file.
You can download this here and change the url of the edge lambda file:
https://s3.amazonaws.com/cloudfront-blog-resources/authorization-lambda-at-edge/edge-auth.template

The Edge-Auth-Lambda file has to bo uploaded somewhere public in s3 with a changed node version inside.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants