Skip to content

Example Python / AWS Lambda / S3 / Terraform image processing pipeline

Notifications You must be signed in to change notification settings

dan-osull/python_aws_lambda_s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda / S3 / Terraform image processing infrastructure

Working proof-of-concept:

  • add image file to S3 input bucket ->
  • automatically trigger Lambda function ->
  • process image (invert colors example) ->
  • save to S3 output bucket

Deploy with:

cd terraform
terraform apply

Current limitations

  1. Python packages are simply saved to terraform/src/package:

    pip install --target ./package pillow
    
  2. terraform/src/lambda.py contains hardcoded TARGET_S3_BUCKET

About

Example Python / AWS Lambda / S3 / Terraform image processing pipeline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages