cookiecutter-aws-sam-python

by aws-samples

A Cookiecutter template to create a Serverless App based on Serverless Application Model (SAM) and P...

151 Stars 59 Forks Last release: Not found Other 78 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Cookiecutter SAM for Python Lambda functions

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 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.

Usage

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.

Options

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

Credits

License

This project is licensed under the terms of the MIT License with no attribution

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.