Amazon EventBridge to AWS Step Functions

EventBridge → Step Functions

Create an EventBridge rule that triggers a Step Functions workflow

This pattern demonstrates running a Step Functions workflow using an EventBridge rule. The template creates a shell Step Functions workflow with a CloudWatch log group for error reporting. It is triggered on select EC2 instance state changes and branches based on the value.

< 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/eventbridge-sfn-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:

Ahmad Aboushady

Ahmad Aboushady

Senior Technical Account Manager, AWS