- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hi,
I think you already tried to invalidate the Cloudfront cache. Please ensure you did it correctly following the steps mentioned in this doc [1].
Also, after publishing the new version of the Lambda function, please make sure to update the Cloudfront distribution with the latest Lambda ARN.
Refer to these links to update it. [2] [3]
References:
[1] https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#Invalidation_Requests
[2] https://stackoverflow.com/questions/62655805/how-to-update-lambdaedge-arn-in-cloudfront-distribution-using-cli
[3] https://docs.imperva.com/bundle/advanced-bot-protection/page/77891.htm
Thanks,
Atul
Hi,
Please, read the guidance of this page https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-edge-edit-function.html
and make sure that you implement properly steps 8 and beyond to get your new version in place in the existing CloudFront distribution
Best,
Didier
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
Thanks for that, I have it going now. Perhaps the problem was that I was reusing the trigger from the previous version. Creating a new trigger seemed to make it work. Also I had to invalidate the cache to get it to work.