Add lambda template docs #867
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Updated AWS Lambda deployment documentation to accurately reflect the production-ready SafeSettings-Template implementation instead of generic deployment approaches.
Changes Made
New docs/awslambda.md:
✅ Template-First Approach: Prominently features SafeSettings-Template as the recommended deployment method
✅ Accurate Architecture: Documents the dual Lambda function approach (webhooks + scheduler) with Docker containers
✅ Real Implementation: Reflects actual Node.js 20 runtime, handler structure, and project organization
✅ Production-Ready Setup: Includes GitHub Actions CI/CD, testing, and monitoring guidance
✅ Template-Specific Troubleshooting: Addresses issues specific to the containerized deployment
Updated deploy.md:
🚀 Enhanced AWS Lambda Section: Now highlights SafeSettings-Template with clear benefits and features
📦 Better Organization: Separates modern template approach from legacy Serverless Framework method
🔄 Updated Dependencies: Changed Node.js requirement from 16.x to 18.x+ (20.x LTS recommended)
🔗 Updated Repository URLs: Changed clone instructions to point to new repository origin
Key Benefits
Impact
Users now have clear guidance for deploying safe-settings to AWS Lambda using the modern, containerized template approach while maintaining access to alternative deployment methods.
Template Repository: SafeSettings-Template
Documentation: AWS Lambda Deployment Guide
https://medium.com/@bheemreddy181/deploying-github-safe-settings-to-aws-lambda-a-docker-first-serverless-approach-d70eff7a0c6b