4.0.0 Lambda Deployment Package
An AWS Lambda deployment package. Requires an IAM role with write access to your chosen S3 bucket, and the following environment variables set:
LFS_BUCKET - If using Amazon S3, the name of the bucket (for example, "lfs-test")
S3_ACCELERATION - If using Amazon S3, whether to use transfer accelleration
LFS_AZUREBLOB_CONNECTIONSTRING - If using Microsoft Azure, the connection string for Azure blob storage
LFS_AZUREBLOB_CONTAINERNAME - If using Microsoft Azure, the container name for Azure blob storage
LFS_USERNAME - If using basic authentication, a username to authenticate with
LFS_PASSWORD - If using basic authentication, a password to authenticate with
GITHUB_ORGANISATION - if using GitHub authentication, the organisation which the repository is in
GITHUB_REPOSITORY - if using GitHub authentication, the repository which the user must have permission to access
BITBUCKET_WORKSPACE - if using BitBucket authentication, the workspace which the repository is in
BITBUCKET_REPOSITORY - if using BitBucket authentication, the repository which the user must have permission to access
The handler for this package is Estranged.Lfs.Hosting.Lambda::Estranged.Lfs.Hosting.Lambda.LambdaEntryPoint::FunctionHandlerAsync
.
To customise this further, clone the repo and open up the Estranged.Lfs.Hosting.Lambda
to see the code this package uses.