Bash Runtime for AWS Lambda Glue Code
Write lightweight AWS Lambda handlers in Bash with jq, curl, and AWS SigV4 support for HTTP API orchestration
About this automation
Deploy Bash scripts as AWS Lambda handlers using a custom runtime layer. Bundled with jq for JSON parsing and curl with AWS SigV4 support for signing AWS API requests. Handler reads stdin, writes stdout, returns 0 for success. Supports shell scripts, static binaries, or combinations thereof.
How to implement
Add the Bash runtime as a Lambda layer to your AWS account
Write your handler as a Bash script reading from stdin and writing to stdout
Use jq to parse JSON payloads from Lambda events
Call external HTTP APIs or AWS services with curl (use --aws-sigv4 for AWS authentication)
Return exit code 0 for success, non-zero for errors
Package optional static binaries alongside your handler script
Deploy and invoke via standard Lambda mechanisms