sagidM / s3-resizer

AWS Lambda for resizing images in S3 on fly.
MIT License
224 stars 78 forks source link

Add Terraform support #16

Open MeLlamoPablo opened 4 years ago

MeLlamoPablo commented 4 years ago

This PR adds support for creating the entire infrastructure with Terraform. This is great for a number of reasons:

Take a look at the new README.md to see how everything works.

While developing this, I made two changes to how the whole flow works. These changes might warrant a new major version.

For the time being, I'll be hosting a custom instance so you can test how it works:

https://d37qm260myncmt.cloudfront.net/500xAUTO/blade-runner-2049.jpg

Thanks for reading! If you have any questions I'll be happy to help :)

sagidM commented 4 years ago

Hi @MeLlamoPablo, I really appreciate your contribution. I just want to let you know that this PR is taken into consideration. It is a little hard to make a room for learning Terraform, but once I do it, I will come back.

First thoughts, I would like to keep the project simple and easy to use. So for any new feature, I consider trade-offs between functionality and complexity that the feature brings up. I have been receiving some requests on the email, but so far, no request about Terraform.

At the same time, I had some thoughts to integrate the project with other stuff services (e.g. Google Cloud), in which case I will have to rename it. But again, I want to keep the current simplicity.

Looking forward to coming back soon.