How clouddevopshub/image-resizing-project-on-aws works
This repository provisions a serverless image-resizing service. A user uploads an original image to the source S3 bucket; an S3 event invokes Lambda, which resizes the image, stores the result in a destination bucket, and publishes a notification to SNS for email delivery. The graph includes the documented IAM execution role and permissions. Source excerpts were not available, so relationships are limited to those stated in the README; Terraform resource details are not independently verified.
Main entry points: lambda-function.tf Resize function · s3-bucket.tf Source bucket · sns-topic.tf SNS topic · iam-role.tf Lambda execution role
Components 8
Image storage
- Source bucket
s3-bucket.tf - Destination bucket
s3-bucket.tf
Image processing
- Resize function
lambda-function.tf
Notifications
- SNS topic
sns-topic.tf - Email subscriber
Access control
- Lambda execution role
iam-role.tf - S3 and SNS permissions
iam-policy.tf
Other components
- Image uploader
Connections 8
- Image uploader → Source bucket: uploads image
README.md - Source bucket → Resize function: triggers
README.md - Resize function → Source bucket: reads original
README.md - Resize function → Destination bucket: stores resized image
README.md - Resize function → SNS topic: publishes result
README.md - SNS topic → Email subscriber: sends notification
README.md - Resize function → Lambda execution role: uses execution role
README.md - Lambda execution role → S3 and SNS permissions: has permissions
README.md