Last weekend I played with AWS Step Functions! I wanted to refactor a Lambda function I already coded for the sake of maintainability and evolutivity. Spent my day with AWS SAM refactoring a long Lambda in Step Functions Result: • I reduced my code by 2 • The code is now way more maintainable • I have a cool graph presenting the execution flow Btw, I call my state machine with API Gateway and I only needed 8 lines in YAML!