AWS Step Functions to on-premises API (Terraform)

AWS Step Functions → Amazon EventBridge → Amazon VPC Lattice → Amazon VPC

AWS Step Functions performing HTTP call to on-premises API

This sample project demonstrates how to use an AWS Step Functions state machine to call an on-premises API without using an intermediary AWS Lambda function. This pattern uses an Amazon EventBridge connection to connect to an HTTP endpoint and VPC Lattice to access private resources (in a VPC or on premises).
This pattern deploys one Step Functions, one EventBridge connection, a VPC Lattice resource configuration and resource gateway. You need to have a connection between a VPC and a datacenter (using VPN or Direct Connect).

< 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/stepfunctions-eventbridge-onpremise-tf

Deploy

terraform initterraform apply


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

terraform destroy

Created by:

Jerome Van Der Linden

Jerome Van Der Linden

Jerome is a Solutions Architect Builder at AWS. Passionate about building stuff using the AWS services, and especially the serverless ones.

Follow on LinkedIn