Skip to content

Commit 74ee6da

Browse files
mploskiheitorlessa
andauthored
Update docs/quickstart.md
Co-authored-by: Heitor Lessa <[email protected]>
1 parent 52c629f commit 74ee6da

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

docs/quickstart.md

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,26 +45,25 @@ Let's configure our base application to look like the following code snippet.
4545
```yaml
4646
AWSTemplateFormatVersion: '2010-09-09'
4747
Transform: AWS::Serverless-2016-10-31
48-
Description: >
49-
Sample SAM Template for powertools-quickstart
48+
Description: Sample SAM Template for powertools-quickstart
5049
Globals:
51-
Function:
52-
Timeout: 3
50+
Function:
51+
Timeout: 3
5352
Resources:
54-
HelloWorldFunction:
55-
Type: AWS::Serverless::Function
56-
Properties:
57-
CodeUri: hello_world/
58-
Handler: app.lambda_handler
59-
Runtime: python3.9
60-
Architectures:
61-
- x86_64
62-
Events:
63-
HelloWorld:
64-
Type: Api
53+
HelloWorldFunction:
54+
Type: AWS::Serverless::Function
6555
Properties:
66-
Path: /hello
67-
Method: get
56+
CodeUri: hello_world/
57+
Handler: app.lambda_handler
58+
Runtime: python3.9
59+
Architectures:
60+
- x86_64
61+
Events:
62+
HelloWorld:
63+
Type: Api
64+
Properties:
65+
Path: /hello
66+
Method: get
6867
Outputs:
6968
HelloWorldApi:
7069
Description: "API Gateway endpoint URL for Prod stage for Hello World function"

0 commit comments

Comments
 (0)