Skip to content

DiamondFoundry/bash-lambda-layer

 
 

Repository files navigation

Bash in AWS Lambda [Modified by Kayac inc.]

forked gkrizek/bash-lambda-layer because we needed to modify and maintain it in our organization. Respect for the original gkrizek/bash-lambda-layer.

The original gkrizek/bash-lambda-layer is no longer supported on August 20, 2020. Click here for details.

Difference from the original

compatible runtimes

only provided.al2

ARN

for Amazon Linux 2 (provided.al2)

arn:aws:lambda:<region>:513375597510:layer:bash-al2:1

for Amazon Linux 1 (provided)

This is deprecated. It will not be maintained in the future. Please use AL2 for new Lambda functions.

arn:aws:lambda:<region>:513375597510:layer:bash:4

tools version

In kayac/bash-lambda-layer,the following executables.

  • AWS CLI v2.0.30
  • jq 1.6
  • zip 3.0
  • unzip 6.0

function

  • Error handling using jq, for json escape.

How to publish to local AWS account.

Download the release package and do one of the following

publish to All region

$ ./publish.sh

publish to Single region

$AWS_REGION=<target region> ./publish-only.sh

If want additional executable commands...

Let's stack layers Check examples/additional-git-layer for more details.

Only add executables to kayac/bash-lambda-layer if it is often needed by our organization.

About

Run Bash scripts in AWS Lambda via Layers

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 92.2%
  • Tcl 4.4%
  • Shell 2.1%
  • CSS 1.0%
  • JavaScript 0.2%
  • DTrace 0.1%