Skip to content

Commit f847564

Browse files
authored
docs(tutorial): use newer sam cli template; update to py3.10 (#2167)
1 parent e9f8383 commit f847564

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Diff for: docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ Compared with the [public Layer ARN](#lambda-layer) option, SAR allows you to ch
670670
## Quick getting started
671671

672672
```bash title="Hello world example using SAM CLI"
673-
sam init --location https://github.com/aws-samples/cookiecutter-aws-sam-python
673+
sam init --app-template hello-world-powertools-python --name sam-app --package-type Zip --runtime python3.10 --no-tracing
674674
```
675675

676676
## Features

Diff for: docs/tutorial/index.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ This tutorial progressively introduces Lambda Powertools core utilities by using
1717
Let's clone our sample project before we add one feature at a time.
1818

1919
???+ tip "Tip: Want to skip to the final project?"
20-
Bootstrap directly via SAM CLI: `sam init --location https://github.com/aws-samples/cookiecutter-aws-sam-python`
20+
Bootstrap directly via SAM CLI:
21+
22+
```shell
23+
sam init --app-template hello-world-powertools-python --name sam-app --package-type Zip --runtime python3.10 --no-tracing`
24+
```
2125

2226
```bash title="Use SAM CLI to initialize the sample project"
23-
sam init --runtime python3.9 --dependency-manager pip --app-template hello-world --name powertools-quickstart
27+
sam init --runtime python3.10 --dependency-manager pip --app-template hello-world --name powertools-quickstart
2428
```
2529

2630
### Project structure

0 commit comments

Comments
 (0)