[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-stepfunctions-eventbridge-onpremise-tf":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":30,"level":31,"meta":32,"patternArch":33,"resources":58,"s3URL":6,"services":6,"stem":66,"testing":67,"videoId":6,"__hash__":70},"patterns\u002Fpatterns\u002Fstepfunctions-eventbridge-onpremise-tf.json","AWS Step Functions to on-premises API (Terraform)",null,{"text":8},[9],"terraform destroy",[11],"content\u002Fcontributors\u002Fjerome-van-der-linden.json",{"text":13},[14,15],"terraform init","terraform apply","AWS Step Functions performing HTTP call to on-premises API","json","Terraform",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fstepfunctions-eventbridge-onpremise-tf","serverless-patterns\u002Fstepfunctions-eventbridge-onpremise-tf","stepfunctions-eventbridge-onpremise-tf","main.tf",{"headline":26,"text":27},"How it works",[28,29],"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).","Integration","200",{},{"icon1":34,"icon2":39,"icon3":43,"icon4":47,"line1":51,"line2":54,"line3":56},{"x":35,"y":36,"service":37,"label":38},15,50,"sfn","AWS Step Functions",{"x":40,"y":36,"service":41,"label":42},40,"eventbridge","Amazon EventBridge",{"x":44,"y":36,"service":45,"label":46},65,"vpc-lattice","Amazon VPC Lattice",{"x":48,"y":36,"service":49,"label":50},90,"vpc","Amazon VPC",{"from":52,"to":53},"icon1","icon2",{"from":53,"to":55},"icon3",{"from":55,"to":57},"icon4",{"bullets":59},[60,63],{"text":61,"link":62},"Connect to private APIs using EventBridge connections","https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Fconnection-private.html",{"text":64,"link":65},"Call HTTPs endpoints using Step Functions HTTP Task","https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002Fcall-https-apis.html","patterns\u002Fstepfunctions-eventbridge-onpremise-tf",{"text":68},[69],"See the GitHub repo for detailed testing instructions.","Z0ZscTSEh2L-k03mH58DJ7P_RSyD8vW8g7ai2_ezElM",1778846888442]