Skip to content

Conversation

@skimo1337
Copy link

I faced some issues in using the cloudformation template, the following changes fixed them on my end

Changes:

🔐 Updated S3 bucket configuration to use modern permission model with OwnershipControls and PublicAccessBlockConfiguration (ACL is failing)
🚀 Upgraded Lambda runtimes from nodejs14.x to nodejs20.x for both functions
🌐 Added 404 error page handling in CloudFront distribution

Technical Details:

  • S3 changes address the "Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced setting" error
  • Lambda runtime updates resolve the deprecation of Node.js 14.x
  • CloudFront error handling now properly configures both ResponseCode and ResponsePagePath

Deployment Note:
⚠️ Template must be deployed in us-east-1 region due to Lambda@Edge requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant