- Edit
serverless.yml
, thehandler
path should be from the root folder (notdist/**/your_handler.main
or from any directory with compiled files), for instance:... my_function: handler: handlers/my_function.main ...
- Edit
serverless.yml
addingserverless-plugin-typescript
to the plugin section:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Compute Amazon S3 ETag for a local file | |
.DESCRIPTION | |
ETags represent a hash of the content of a file stored in S3. | |
Comaparing ETags can be used to determine | |
- If a file in S3 is the same as one you are going to upload | |
- Following an upload, whether the file was successfully uploaded. | |