Open cubabit opened 6 days ago
I am not sure, but this may be a fix, if possible through Cloudformation: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-lambda.html
It seems the configuration for Lambda to allow public access to the function is not yet possible to set up via Cloudformation. https://docs.aws.amazon.com/lambda/latest/dg/permissions-public-access.html
I am preparing a PR to fix this, though it might need some improvements
When deploying the stack to eu-west-1 region
This looks like it is due to a recent change at AWS: Support for JSON resource-based policies and block public access
References