[{"data":1,"prerenderedAt":56},["ShallowReactive",2],{"snippet-tools-diagnose-sam-deployment-log":3},{"id":4,"title":5,"contributors":6,"description":8,"extension":9,"gitHub":10,"introBox":13,"languages":18,"meta":21,"resources":22,"services":30,"snippets":34,"stem":48,"tags":49,"type":54,"__hash__":55},"snippets\u002Fsnippets\u002Ftools-diagnose-sam-deployment-log.json","Diagnose a failed AWS SAM deployment log",[7],"content\u002Fcontributors\u002Fjacob-goldstein.json","Analyze a saved AWS SAM or CloudFormation deployment log locally and produce a redacted report with targeted verification steps.","json",{"template":11},{"repoURL":12},"https:\u002F\u002Fgithub.com\u002Fjakegold1647\u002Fsam-doctor",{"headline":14,"text":15},"How it works",[16,17],"SAM Doctor recognizes common AWS SAM, CloudFormation, IAM, CDK, and GitHub Actions deployment failures. It produces a first-pass diagnosis with matched evidence and targeted, safe verification steps.","The tool reads a saved log locally. It does not require AWS credentials or upload log data; review the redacted report before sharing it.",[19,20],"Bash","Python",{},{"bullets":23},[24,27],{"text":25,"link":26},"SAM Doctor quickstart and output guide","https:\u002F\u002Fsam-doctor.jacobgoldstein.dev\u002Fquickstart.html",{"text":28,"link":29},"AWS SAM troubleshooting documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Fserverless-application-model\u002Flatest\u002Fdeveloperguide\u002Fserverless-troubleshooting.html",[31,32,33],"cloudformation","iam","lambda",[35,40,44],{"title":36,"description":37,"language":38,"code":39},"Install SAM Doctor","Install the command-line tool in the Python environment you use for deployment troubleshooting.","bash","python -m pip install sam-doctor",{"title":41,"description":42,"language":38,"code":43},"Diagnose the saved deployment log","Run a local analysis and print a Markdown report suitable for a ticket or review thread.","sam-doctor diagnose deployment.log --format markdown\n",{"title":45,"description":46,"language":38,"code":47},"Prepare a redacted support packet","Create a redacted excerpt and the context needed to report an unsupported failure without sharing the complete log.","sam-doctor request-packet deployment.log","snippets\u002Ftools-diagnose-sam-deployment-log",[50,51,52,53],"AWS SAM","CloudFormation","Deployment","Debugging","Tools","qI2bD0Cngwf3IL7qsi_u0A1ySSCDHykvqSRWT2zp0GM",1790678110210]