Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alestic/lambdash
Lambda shell - Run sh commands inside AWS Lambda environment
https://github.com/alestic/lambdash
Last synced: 12 days ago
JSON representation
Lambda shell - Run sh commands inside AWS Lambda environment
- Host: GitHub
- URL: https://github.com/alestic/lambdash
- Owner: alestic
- License: apache-2.0
- Created: 2014-11-18T01:51:48.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-08-12T22:21:59.000Z (over 4 years ago)
- Last Synced: 2024-08-02T06:25:58.548Z (3 months ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 531
- Watchers: 15
- Forks: 40
- Open Issues: 8
-
Metadata Files:
- Readme: README.txt
- License: LICENSE
Awesome Lists containing this project
README
This code is referenced in the following articles: Please read these
articles for more information.lambdash: AWS Lambda Shell Hack: New And Improved!
https://alestic.com/2015/06/aws-lambda-shell-2/Exploring The AWS Lambda Runtime Environment
https://alestic.com/2014/11/aws-lambda-environment/The files in this repo include:
- index.js - AWS Lambda function that runs a provided shell command
and returns stdout, stderr, and exit code.- lambdash - Command line program that invokes the AWS Lambda
function with a specified shell command and outputs returned
results.- lambdash.template - CloudFormation template that creates the AWS
Lambda function and the required IAM role.- lambdash-install - Script to create the CLoudFormation stack.
- lambdash-uninstall - Script to delete the CloudFormation stack.
- lambdash-upload-s3 - Sample of how ZIP file and CloudFormation
template were uploaded to the run.alestic.com S3 bucket
(hardcoded names)Note: This code is a simple hack, demonstrating a way to gain
visibility into the AWS Lambda environment. This is not intended to be
production quality software.