# lambda-cf-skeleton

Quick bootstrap for writing, building and deploying lambdas using CloudFormation


## Usage
* First ensure you have `tcs` installed - https://git-aws.internal.justin.tv/dta/tcs/blob/master/docs/installation.md

* Setup the github-import hook as described here - https://git-aws.internal.justin.tv/vod/github-import

* Install the skeleton:

```tcs skeleton install foundation/lambda-cf-skeleton```

* Create a new cloudformation stack using the template that was just created for you:

```aws cloudformation --create-stack --stack-name my-lambda-pipeline --template-body file://cloudformation.yaml```

## What goes where

* Source code - `src/`
* Tests - `src/*_test.py`


## How do I deploy?

```git push```
