Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.05 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.05 KB

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