Skip to content

Instantly share code, notes, and snippets.

@ravsau
Last active December 23, 2018 07:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ravsau/65b0ebfa7a8a374f4c40e79e35ac9b4b to your computer and use it in GitHub Desktop.
Save ravsau/65b0ebfa7a8a374f4c40e79e35ac9b4b to your computer and use it in GitHub Desktop.
contact-app-debug
  1. Go to the lambda function

screen shot 2018-12-23 at 1 19 31 am

  1. Click on Monitoring Tab

screen shot 2018-12-23 at 1 22 26 am

  1. Find the most recent log where the function ran without errors. image

  2. Record the timestamp

  3. Go to the S3 buckets where SAM packages are uploaded. This is the bucket you mention when using the following command

sam package --template-file contact.yaml --s3-bucket lambda-code-sam --output-template-file output.yaml

image

  1. Download the file

  2. Unzip and find the proper function code. Fix your app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment