Back to browse
GitHub Repository

AWS Lambda Runtime for Bash functions.

0 starsShell

Bash Runtime for AWS Lambda

by tw1gz·Jun 5, 2026·2 points·0 comments

AI Analysis

MidShip It

Yet another bash Lambda runtime, but the stdin/stdout contract is refreshingly simple.

Strengths
  • Stdin/stdout handler contract avoids framework overhead and cold starts
  • Bundled curl with --aws-sigv4 and jq handles common Lambda glue patterns
  • CloudWatch Embedded Metrics format built in without extra dependencies
Weaknesses
  • Bash Lambda runtimes already exist including AWS official examples
  • Single commit and zero stars suggests very early stage with unproven stability
Target Audience

DevOps engineers, backend developers writing Lambda glue code

Similar To

aws-lambda-bash-runtime · lambci/docker-lambda

Post Description

Hi HN,

I built a Bash runtime for AWS Lambda to make writing glue code simpler and faster. Sometimes, all you need is a bit of `sed`, `awk`, maybe a loop and a few HTTP API calls, and this runtime gives you all the tools to do that. It comes bundled with `jq` and `curl` so you can handle JSON payloads and string together HTTP API calls right out of the box, including calling AWS services with `curl --aws-sigv4`.

In keeping with the theme, the Lambda handler contract is also made as simple as practical: read from stdin, write to stdout, return 0 for success and non-0 for error. You can run shell scripts, call binaries (either what's available in `al2023.provided` or you can package your own static binaries with your handler), or a combination of both. If you remember nodding along to Adam Drake's post about how bash and coreutils can be faster than a Hadoop cluster, I hope you give this a whirl and find it useful. The runtime is packaged as a Lambda layer, so it should drop right into your normal AWS infrastructure.

Similar Projects