This Lambda function processes image uploads to an S3 bucket and updates an images.json file with metadata about the images.
Jedidiah Staley
- Create an S3 bucket with public read permissions.
- Upload images to the S3 bucket.
- The Lambda function will be triggered on image upload, updating the
images.jsonfile.
- Ensure the S3 bucket policy allows public read access.
- Avoid infinite loops by setting the Lambda trigger to specific image file extensions.