Skip to content

Cookiecutter template to create a Lambda function w/a SAM template

License

Notifications You must be signed in to change notification settings

digitizdat/template-lambda-sam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lambda-template-sam

Cookiecutter template for a basic Lambda function with a SAM template and a Makefile.

To use this repo

  1. Clone this repo

  2. Install cookiecutter, if you don't already have it.

    pip install cookiecutter

  3. Run cookiecutter on this repo

    cookiecutter .

What results will be a new directory named according to the application_name variable you populated in cookiecutter.json. You can create a new Git repo from this directory and push it to a blank repo created in GitHub or whatever.

  git .
  git add *
  git commit -m "Initial commit"
  git branch -M main
  git remote add origin https://github.com/digitizdat/my-new-project.git
  git push -u origin main

You can deploy the sample Lambda function without modification. If your environment has current AWS credentials in it, simply run make all.

  make all

About

Cookiecutter template to create a Lambda function w/a SAM template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published