Step Functions with Lambda
| Key | Value |
|---|---|
| Services | Step Functions, Lambda |
| Integrations | AWS CLI |
| Categories | Serverless; Orchestration |
Introduction
A demo application illustrating how to orchestrate Lambda functions using AWS Step Functions with LocalStack. The sample creates multiple Lambda functions and a Step Functions state machine that coordinates their execution.
Prerequisites
- A valid LocalStack for AWS license. Your license provides a
LOCALSTACK_AUTH_TOKENto activate LocalStack. - Docker
localstackCLIawslocalCLI
Check prerequisites
make check
Installation
make install
Start LocalStack
export LOCALSTACK_AUTH_TOKEN=<your-auth-token> make start
Deploy the Application
make deploy
Run the application
make run
The script creates Lambda functions and a Step Functions state machine, then starts an execution that flows through the Lambda orchestration.
License
This code is available under the Apache 2.0 license.