File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -85,9 +85,9 @@ app: my-app # (optional) serverless dashboard app. default
8585stage : dev # (optional) serverless dashboard stage. default is dev.
8686
8787inputs :
88- src : ./src # (optional) path to the source folder. default is a hello world function.
88+ src : ./src # (optional) path to the source folder, relative to the cwd . default is a hello world function.
8989 name : my-lambda # (optional) the name of lambda function. default is an auto-generated name based on the instance name and stage above.
90- handler : index.handler # (optional) lambda handler. default is handler.handler.
90+ handler : index.handler # (optional) lambda handler relative to the src input above . default is handler.handler.
9191 memory : 512 # (optional) lambda memory size.
9292 timeout : 10 # (optional) lambda timeout.
9393 description : My Lambda. # (optional) lambda description.
@@ -108,6 +108,8 @@ inputs:
108108 region : us-east-2 # (optional) aws region to deploy to. default is us-east-1.
109109` ` `
110110
111+ **Note:** Unlike the ` src` input, the `handler` input is relative to the `src` input, not to the current working directory.
112+
111113Once you've chosen your configuration, run `serverless deploy` again (or simply just `serverless`) to deploy your changes.
112114
113115# ## 5. Develop
You can’t perform that action at this time.
0 commit comments