Does “cloudfront function” work with fetch request?
I want to custom response with Cloudfront function. Here is my Cloudfront function. I’m wondering that “fetch” will work in Cloudfront function. If it doesn’t wwork is there any way for me to get the same result as the code below
AWS Lambda function bugs when associated to AWS Cloud Front
I created a static website using S3, CloudFront, Lambda@Edge.
CloudFront is he trigger for Lambda which will log visitor IP adress on a file in S3.
The lambda when tested separately using Function URL it works well and log the data correctly in the S3.
But once the lambda is associated to cloud front I get this message in the front.
Here is the website : www.parrainage-boursorama.net