I deployed a NextJS website to AWS using Serverless-nextjs.
Looking at AWS CloudFront, I notice that logging is not configured. Inside CloudFront Distribution Settings, you can enable "Standard Logging", provide the "S3 Bucket for Logs", and a "Log Prefix".
After some digging, I don’t see how to configure this within the
serverless.yml
My config file is pretty bare bones.
Filename:
serverless.yml
myNextApplication: component: '@sls-next/[email protected]' inputs: cloudfront: comment: 'Lovely comment about this service' domain: ['www', 'service-name.com']
Thanks!
Anonymous Asked question May 14, 2021
Recent Comments