This project is now archived. Please use the official AWS SAM CLI template instead.
sam init --app-template hello-world-powertools-python --name sam-app --package-type Zip --runtime python3.12 --no-tracing
This is a Cookiecutter template to create a Serverless App based on Serverless Application Model (SAM) and Python 3.9.
It is important to note that you should not try to git clone
this project but use SAM
CLI instead as {{cookiecutter.project_slug}}
will be rendered based on your input and therefore all variables and files will be rendered properly.
Generate a new SAM based Serverless App: sam init --location gh:aws-samples/cookiecutter-aws-sam-python
You'll be prompted a few questions to help this cookiecutter template to scaffold this project and after its completed you should see a new folder at your current path with the name of the project you gave as input.
Option | Description |
---|---|
include_safe_deployment |
Sends by default 10% of traffic for every 1 minute to a newly deployed function using CodeDeploy + SAM integration - Linear10PercentEvery1Minute |
- This project has been generated with Cookiecutter
- Bruno Alla's Lambda function template
This project is licensed under the terms of the MIT License with no attribution