destalinator
destalinator copied to clipboard
Idea: Destalinator in AWS Lambda
When I got Destalinator up and running in Docker someone asked if I wanted to run it in Lambda with a cron. I thought it was an interesting idea, though the 5 min execution limit might be an issue for larger teams. As long as we get all the env vars working creating a .zip which users could upload to Lambda should be pretty simple. Then we can reuse the RUN_ONCE flag to execute once on a nightly cron.
It may be possible to queue up a job per channel.
I suspect if it were under 5 minutes, you'd run into API rate limiting issues. #132 would minimize the number of requests you need to make.
Lambdas can now run for 15 min, maybe this is more viable now.