This pull request migrates the lambda functions for processing fast.ly and cloudfront logs from python27 to python38.
It also refactors the python deployment process to use a requirements.txt file (rather than packaging dependencies here on github) and to deploy following the simple guide in lambda docs.
This change in deployment does raise some linting issues which i'll look at in another issue in the future, but i believe this greatly simplifies + modernizes the code.
I've not tested the fast.ly log parser, but it is broadly the same as the cloudfront one so i applied the same python fixes and hopefully it works reliably.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes:
This pull request migrates the lambda functions for processing fast.ly and cloudfront logs from python27 to python38.
It also refactors the python deployment process to use a requirements.txt file (rather than packaging dependencies here on github) and to deploy following the simple guide in lambda docs.
This change in deployment does raise some linting issues which i'll look at in another issue in the future, but i believe this greatly simplifies + modernizes the code.
I've not tested the fast.ly log parser, but it is broadly the same as the cloudfront one so i applied the same python fixes and hopefully it works reliably.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.