Search code examples
amazon-web-servicesdockeraws-samaws-sam-cli

AWS SAM/AWS Toolkit Docker Mounting Error


What path do I add to docker to enable AWS SAM to locally debug? Adding the path to the directory in which I work normally does not work.


Solution

  • Short Answer: add this path to docker: C:\Users\{user}\AppData\Local\Temp\aws-toolkit-vscode

    The directory that needs to be mounted is the directory that sam COMPILES TO, NOT the directory in which you normally work in e.g onedrive, documents.