Cookiecutter template for a basic Lambda function with a SAM template and a Makefile.
To use this repo
-
Clone this repo
-
Install cookiecutter, if you don't already have it.
pip install cookiecutter
-
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