failure-lambda
failure-lambda lets you inject faults into AWS Lambda functions to test how they behave under real-world failure conditions.
File Explorer
Download Latest Version (.zip)- ci.yml
- failure_lambda_example.ts
- handler.ts
- package-lock.json
- package.json
- failure_lambda_example-stack.ts
- failure_lambda_example.test.ts
- .gitignore
- .npmignore
- cdk.json
- jest.config.js
- package-lock.json
- package.json
- tsconfig.json
- index.mjs
- app.py
- template.yaml
- handler-middy.ts
- handler.ts
- package-lock.json
- package.json
- template.yaml
- handler.ts
- package-lock.json
- package.json
- serverless.yml
- dns_intercept.c
- index.mjs
- app.py
- config.rs
- failures.rs
- main.rs
- proxy.rs
- Cargo.lock
- Cargo.toml
- Cross.toml
- build.sh
- template.yaml
- wrapper
- cli-prompts.test.ts
- cli-store.test.ts
- config.test.ts
- denylist.test.ts
- failures.test.ts
- index.test.ts
- middy.test.ts
- display.ts
- prompts.ts
- settings.ts
- store.ts
- corruption.ts
- denylist.ts
- diskspace.ts
- exception.ts
- index.ts
- latency.ts
- statuscode.ts
- timeout.ts
- cli.ts
- config.ts
- index.ts
- log.ts
- matching.ts
- middy.ts
- orchestration.ts
- types.ts
- .editorconfig
- .gitignore
- .npmignore
- CHANGELOG.md
- eslint.config.mjs
- LICENSE
- package-lock.json
- package.json
- README.md
- tsconfig.json
- tsconfig.test.json
- tsup.config.ts
- vitest.config.ts
# Installation Guide
git clone https://github.com/gunnargrosch/failure-lambda
Downloads the entire project code from GitHub to your computer.
cd failure-lambda
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Node.js Node.js must be installed to use npm.
npm install -g failure-lambda
Installs the package published on the npm registry globally β no need to clone the source.
Pulled directly from this repo's README.
3. Node.js
Easynpm install failure-lambda
Downloads and installs the libraries listed in package.json.
npm install -g failure-lambda
Installs the package published on the npm registry globally β no need to clone the source.
npm install
Downloads and installs the libraries listed in package.json.
npm install failure-lambda@1
Downloads and installs the libraries listed in package.json.
Pulled directly from this repo's README.
4. Rust
Medium- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cd layer/proxy
This project's files live in a subfolder, so move into it first.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
