Skip to content

An AWS Lambda layer that enables your Lambdas to use native git and ssh binaries — both x86_64 and arm64

License

Notifications You must be signed in to change notification settings

ranmocy/lambda-git

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git, OpenSSH & OpenSSL, Curl layer for AWS Lambda

A lightweight AWS Lambda layer that enables your functions to use native Git and SSH tools. Custom-compiled for native Lambda runtimes using docker-lambda images. Supports Lambdas using x86_64 and arm64 architectures.

This repo supports Git HTTPS operations (Git is compiled with curl).

Contents

Available layers

Layers are available in all major AWS regions (excl. opt-in regions, AWS China and Gov). Keep in mind that arm64 layers are only available in regions that support arm64-based Lambdas.

  • Git Version: 2.38.0
  • OpenSSH Version: 8.8p1
  • OpenSSL Version: 1.1.1l
  • Curl Version: 7.85.0
  • x86_64 layer ARN: arn:aws:lambda:$AWS_REGION:507675645778:layer:lambda-git-x86_64:1
  • arm64 layer ARN: arn:aws:lambda:$AWS_REGION:507675645778:layer:lambda-git-arm64:1

Make sure to replace $AWS_REGION with the AWS region you are using to deploy your Lambdas.

FAQ

How is this different than lambci/git-lambda-layer?

This project is actively maintained. Moreover, this layer is custom-compiled for the specific Lambda runtime environment, it weighs significantly less, uses up-to-date libraries and supports both x86_64 and arm64-based Lambdas.

How is this different than mLupine/lambda-git?

This version supports HTTPS operations.

I found a bug/I have a feature request

Sure, just create an issue in this repository and I'll do my best to help.

License

See LICENSE for details.

Author

About

An AWS Lambda layer that enables your Lambdas to use native git and ssh binaries — both x86_64 and arm64

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 82.1%
  • Dockerfile 17.9%