Skip to content

docs(tutorial): use newer sam cli template; update to py3.10 #2167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ Compared with the [public Layer ARN](#lambda-layer) option, SAR allows you to ch
## Quick getting started

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

## Features
Expand Down
8 changes: 6 additions & 2 deletions docs/tutorial/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ This tutorial progressively introduces Lambda Powertools core utilities by using
Let's clone our sample project before we add one feature at a time.

???+ tip "Tip: Want to skip to the final project?"
Bootstrap directly via SAM CLI: `sam init --location https://github.com/aws-samples/cookiecutter-aws-sam-python`
Bootstrap directly via SAM CLI:

```shell
sam init --app-template hello-world-powertools-python --name sam-app --package-type Zip --runtime python3.10 --no-tracing`
```

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

### Project structure
Expand Down