How ritesh696/image-resizing-project-on-aws works
This Terraform project provisions a serverless image-resizing workflow: a user uploads an image to S3, an upload event invokes Lambda, and the function resizes the image, saves the result to another S3 bucket, and publishes a completion notification through SNS to an email subscriber. IAM roles and policies grant the function its required access. The README documents these relationships; no source excerpts were available, so the graph does not assert additional implementation details.
Main entry points: CreateThumbnail.zip Resize handler · lambda-function.tf Lambda function · s3-bucket.tf Source bucket · sns-topic.tf SNS topic
Components 9
Image storage
- Source bucket
s3-bucket.tf - Destination bucket
s3-bucket.tf
Image processing
- Lambda function
lambda-function.tf - Resize handler
CreateThumbnail.zip
Notifications
- SNS topic
sns-topic.tf - Email subscriber
sns-topic.tf
Access control
- Execution role
iam-role.tf - Access policies
iam-policy.tf
Other components
- Image uploader
Connections 9
- Image uploader → Source bucket: uploads image
README.md - Source bucket → Lambda function: triggers on upload
README.md - Lambda function → Resize handler: runs handler
README.md - Resize handler → Source bucket: downloads original
README.md - Resize handler → Destination bucket: stores resized image
README.md - Resize handler → SNS topic: publishes result
README.md - SNS topic → Email subscriber: emails notification
README.md - Execution role → Access policies: grants access
README.md - Lambda function → Execution role: uses execution role
README.md