Awesome
Rclone Lambda Layer
Rclone is an rsync for cloud storage, including S3, GCS, pCloud and so on.
This repository brings the power of rclone to aws lambda. It can be used along with cron-based schedules for instance to synchronize multiple drives on a regular basis.
Usage
Unfortunately no public layer is available. Fear no more, this one-liner automatically provisions one in your own account.
-
Launch AWS CloudShell and run below commands:
# Retrieve this code git clone https://github.com/badouralix/rclone-lambda-layer.git cd rclone-lambda-layer # Build AND publish lambda layer to your AWS Account (make script does both automatically) make all-amd64 make all-arm64
-
Add the newly added layer to your Lambda function. You may have to provide the specific ARN of your newly created layer to the lambda function.
License
Unless explicitly stated to the contrary, all contents licensed under the MIT License.