Amazon EventBridge to AWS Step Functions to AWS Lambda

EventBridge → Step Functions → AWS Lambda

Create an EventBridge rule that triggers a Step Functions workflow that uses Lambda.

The Terraform template deploys a AWS Step Function, a AWS Lambda function, a CloudWatch Event Rule and the minimum IAM resources required to run the application.
This pattern demonstrates the use of Terraform modules and configures a CloudWatch Event rule to start execution of a AWS Step Functionswhich in turn invokes a AWS Lambda

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/step-function-lambda-terraform

Deploy

See the GitHub repo for detailed deployment instructions.


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Change directory: cd eventbridge-sfn-terraform.
2. Delete the stack: terraform destroy.
3. Confirm the stack has been deleted: terraform show.

Created by:

Rohit Masur

Data and ML Engineer, AWS

Follow on LinkedIn