Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Issues with cloudformation stack #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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