Skip to content

Commit b10dfca

Browse files
authored
Merge pull request #84 from ffMathy/develop
Update README.md
2 parents 1d9fa54 + e5a4f4e commit b10dfca

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,12 @@ Create a `src` folder with one sub-folder for each function. Place your handler
168168
Create a `template.yaml` in the project root. For the `CodeUri` use the functions folder (i.e. `src/{folder}`). Example:
169169

170170
```yaml
171-
MyFunction:
172-
Type: AWS::Serverless::Function
173-
Properties:
174-
CodeUri: src/my-function
175-
Handler: app.handler
171+
Resources:
172+
MyFunction:
173+
Type: AWS::Serverless::Function
174+
Properties:
175+
CodeUri: src/my-function
176+
Handler: app.handler
176177
```
177178
178179
<h2 align="center">Usage with Babel</h2>

0 commit comments

Comments
 (0)