Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

aws-samples/cookiecutter-aws-sam-python

Cookiecutter SAM for Python Lambda functions

Archived

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.

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

About

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

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published