Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ If using SAM, you can include this SAR App as part of your shared Layers stack,

=== "template.yml"

```yaml hl_lines="5-6 12-14"
```yaml hl_lines="5-6 12-13"
AwsLambdaPowertoolsPythonLayer:
Type: AWS::Serverless::Application
Properties:
Expand All @@ -60,10 +60,9 @@ AwsLambdaPowertoolsPythonLayer:
MyLambdaFunction:
Type: AWS::Serverless::Function
Properties:
Location:
Layers:
# fetch Layer ARN from SAR App stack output
- !GetAtt AwsLambdaPowertoolsPythonLayer.Outputs.LayerVersionArn
Layers:
# fetch Layer ARN from SAR App stack output
- !GetAtt AwsLambdaPowertoolsPythonLayer.Outputs.LayerVersionArn
```

??? tip "Example of least-privileged IAM permissions to deploy Layer"
Expand Down