Skip to content

Commit 4c41ec5

Browse files
authored
docs: fix indentation of SAM snippets in install section (#778)
1 parent c3769f3 commit 4c41ec5

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Diff for: docs/index.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ Include Lambda Powertools in your function using the [AWS Lambda Console](https:
4343
MyLambdaFunction:
4444
Type: AWS::Serverless::Function
4545
Properties:
46-
Layers:
47-
- !Sub arn:aws:lambda:${AWS::Region}:017000801446:layer:AWSLambdaPowertoolsPython:3
46+
Layers:
47+
- !Sub arn:aws:lambda:${AWS::Region}:017000801446:layer:AWSLambdaPowertoolsPython:3
4848
```
4949

5050
=== "Serverless framework"
@@ -196,16 +196,16 @@ If using SAM, you can include this SAR App as part of your shared Layers stack,
196196
AwsLambdaPowertoolsPythonLayer:
197197
Type: AWS::Serverless::Application
198198
Properties:
199-
Location:
200-
ApplicationId: arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer
201-
SemanticVersion: 1.21.1 # change to latest semantic version available in SAR
199+
Location:
200+
ApplicationId: arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer
201+
SemanticVersion: 1.21.1 # change to latest semantic version available in SAR
202202

203203
MyLambdaFunction:
204204
Type: AWS::Serverless::Function
205205
Properties:
206-
Layers:
207-
# fetch Layer ARN from SAR App stack output
208-
- !GetAtt AwsLambdaPowertoolsPythonLayer.Outputs.LayerVersionArn
206+
Layers:
207+
# fetch Layer ARN from SAR App stack output
208+
- !GetAtt AwsLambdaPowertoolsPythonLayer.Outputs.LayerVersionArn
209209
```
210210

211211
=== "Serverless framework"
@@ -223,10 +223,10 @@ If using SAM, you can include this SAR App as part of your shared Layers stack,
223223
AwsLambdaPowertoolsPythonLayer:
224224
Type: AWS::Serverless::Application
225225
Properties:
226-
Location:
227-
ApplicationId: arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer
228-
# Find latest from github.com/awslabs/aws-lambda-powertools-python/releases
229-
SemanticVersion: 1.21.1
226+
Location:
227+
ApplicationId: arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer
228+
# Find latest from github.com/awslabs/aws-lambda-powertools-python/releases
229+
SemanticVersion: 1.21.1
230230
```
231231

232232
=== "CDK"

0 commit comments

Comments
 (0)