sanfrancesco / prerendercloud-lambda-edge

Pre-render CloudFront with this Lambda@Edge function. Powered by https://headless-render-api.com (formerly named prerender.cloud from 2016 - 2022)
https://headless-render-api.com
MIT License
206 stars 35 forks source link

Return latest lambda function with explicit version number #20

Closed MouadBelbah closed 5 years ago

MouadBelbah commented 5 years ago

Function with "$Latest" tag as version always gets returned. The function ARN must reference a specific function version to be associated with Cloudfront.

sanfrancesco commented 5 years ago

nice code.... (reduce), and thank you for the fix