A Cookiecutter template to create a Serverless App based on Serverless Application Model (SAM) and Python 3.6
This is a Cookiecutter template to create a Serverless App based on Serverless Application Model (SAM) and Python 3.8.
It is important to note that you should not try to
git clonethis project but use
SAMCLI 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 is licensed under the terms of the MIT License with no attribution