Skip to content

Commit a48c76e

Browse files
Merge pull request #15 from sepulworld/zmw/update_readme
updating readme to use stage option
2 parents b4f9b03 + 41d31e0 commit a48c76e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ When `serverless deploy` is run, the plugin will:
8383
The Serverless framework will then pickup each zip file and upload it to your provider.
8484

8585
Here's a simple `serverless.yml` configuration for this plugin, assuming the project structure above
86+
one of the fuctions we add `-${opt:stage}` to the name in order to append the stage to the function name
8687

8788
```
8889
service: your-awesome-project
@@ -102,7 +103,7 @@ custom:
102103
103104
functions:
104105
function1:
105-
name: function1
106+
name: function1-${opt:stage}
106107
handler: lambda.handler
107108
package:
108109
include:

0 commit comments

Comments
 (0)