
Analyze a saved AWS SAM or CloudFormation deployment log locally and produce a redacted report with targeted verification steps.
Install the command-line tool in the Python environment you use for deployment troubleshooting.
python -m pip install sam-doctor
Run a local analysis and print a Markdown report suitable for a ticket or review thread.
sam-doctor diagnose deployment.log --format markdown
Create a redacted excerpt and the context needed to report an unsupported failure without sharing the complete log.
sam-doctor request-packet deployment.log