[{"data":1,"prerenderedAt":66},["ShallowReactive",2],{"pattern-lambda-durable-function-chaining-terraform":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":30,"level":31,"meta":32,"patternArch":33,"resources":53,"s3URL":6,"services":6,"stem":61,"testing":62,"videoId":6,"__hash__":65},"patterns\u002Fpatterns\u002Flambda-durable-function-chaining-terraform.json","Function chaining with AWS Lambda durable functions in Terraform",null,{"text":8},[9,10],"terraform destroy","terraform show",[12],"content\u002Fcontributors\u002Farchana-v.json",{"text":14},[15,16],"terraform init","terraform apply","A durable orchestrator that chains three Lambda functions in sequence to demonstrate AWS Lambda durable functions","json","Terraform",{"template":21},{"repoURL":22,"templateURL":23,"projectFolder":24,"templateFile":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-durable-function-chaining-terraform","serverless-patterns\u002Flambda-durable-function-chaining-terraform","lambda-durable-function-chaining-terraform","main.tf",{"headline":27,"text":28},"How it works",[29],"A durable orchestrator invokes three Lambda functions in sequence, passing each step's output as input to the next. The durable framework checkpoints after every `context.invoke()` call and if the orchestrator fails, it replays from the beginning but skips completed steps using stored results, ensuring no work is repeated.","Python","300",{},{"icon1":34,"icon2":39,"icon3":41,"icon4":44,"line1":46,"line2":49,"line3":51},{"x":35,"y":36,"service":37,"label":38},20,50,"lambda","AWS Lambda durable function",{"x":36,"y":35,"service":37,"label":40},"AWS Lambda",{"x":42,"y":43,"service":37,"label":40},75,45,{"x":45,"y":42,"service":37,"label":40},90,{"from":47,"to":48},"icon1","icon2",{"from":47,"to":50},"icon3",{"from":47,"to":52},"icon4",{"bullets":54},[55,58],{"text":56,"link":57},"Lambda durable functions","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fdurable-functions.html",{"text":59,"link":60},"Build multi-step applications and AI workflows with AWS Lambda durable functions","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Fbuild-multi-step-applications-and-ai-workflows-with-aws-lambda-durable-functions\u002F","patterns\u002Flambda-durable-function-chaining-terraform",{"text":63},[64],"See the GitHub repo for detailed testing instructions.","P1HlXhSBWNROzog9fWCISVBLEYBAzRTmGWh_KAZj5kQ",1778846885977]