@@ -43,8 +43,8 @@ Include Lambda Powertools in your function using the [AWS Lambda Console](https:
43
43
MyLambdaFunction:
44
44
Type: AWS::Serverless::Function
45
45
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
48
48
```
49
49
50
50
=== "Serverless framework"
@@ -196,16 +196,16 @@ If using SAM, you can include this SAR App as part of your shared Layers stack,
196
196
AwsLambdaPowertoolsPythonLayer:
197
197
Type: AWS::Serverless::Application
198
198
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
202
202
203
203
MyLambdaFunction:
204
204
Type: AWS::Serverless::Function
205
205
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
209
209
```
210
210
211
211
=== "Serverless framework"
@@ -223,10 +223,10 @@ If using SAM, you can include this SAR App as part of your shared Layers stack,
223
223
AwsLambdaPowertoolsPythonLayer:
224
224
Type: AWS::Serverless::Application
225
225
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
230
230
```
231
231
232
232
=== "CDK"
0 commit comments