[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"pattern-eventbridge-sfn-terraform":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":13,"deploy":15,"description":18,"extension":19,"framework":20,"gitHub":21,"highlight":6,"introBox":27,"language":31,"level":32,"meta":33,"patternArch":34,"resources":48,"s3URL":6,"services":6,"stem":57,"testing":58,"videoId":6,"__hash__":62},"patterns\u002Fpatterns\u002Feventbridge-sfn-terraform.json","Amazon EventBridge to AWS Step Functions",null,{"headline":8,"text":9},"Cleanup",[10,11,12],"1. Change directory: \u003Ccode>cd eventbridge-sfn-terraform\u003C\u002Fcode>.","2. Delete the stack: \u003Ccode>terraform destroy\u003C\u002Fcode>.","3. Confirm the stack has been deleted: \u003Ccode>terraform show\u003C\u002Fcode>.",[14],"content\u002Fcontributors\u002Fahmad-aboushady.json",{"text":16},[17],"See the GitHub repo for detailed deployment instructions.","Create an EventBridge rule that triggers a Step Functions workflow","json","Terraform",{"template":22},{"projectFolder":23,"repoURL":24,"templateURL":25,"templateFile":26},"eventbridge-sfn-terraform","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-sfn-terraform","serverless-patterns\u002Feventbridge-sfn-terraform","main.tf",{"headline":28,"text":29},"How it works",[30],"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.","Integration","100",{},{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"eventbridge","EventBridge",{"x":41,"y":37,"service":42,"label":43},80,"sfn","Step Functions",{"from":45,"to":46,"label":47},"icon1","icon2","",{"headline":49,"bullets":50},"Additional resources",[51,54],{"text":52,"link":53},"Reducing custom code by using advanced rules in Amazon EventBridge","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Freducing-custom-code-by-using-advanced-rules-in-amazon-eventbridge\u002F",{"text":55,"link":56},"Use Amazon EventBridge to Build Decoupled, Event-Driven Architectures","https:\u002F\u002Fserverlessland.com\u002Flearn\u002Feventbridge","patterns\u002Feventbridge-sfn-terraform",{"headline":59,"text":60},"Testing",[61],"See the GitHub repo for detailed testing instructions.","KT3fv-viSAU97KB57U00JuDmDhxKT6BS3QjIUMR73fE",1778846885327]