Skip to content

Instantly share code, notes, and snippets.

View ruffyleaf's full-sized avatar
🎯
Focusing

Max ruffyleaf

🎯
Focusing
View GitHub Profile
@ruffyleaf
ruffyleaf / Makefile
Last active October 13, 2017 08:52
AWS Lambda Makefile for Scheduled Jobs
PROJECT = myProject
FUNCTION = $(PROJECT)
REGION = ap-southeast-1
ROLE = arn:aws:iam::123456789012:role/service-role/myLambdaRole
createFunction:
aws lambda create-function \
--region $(REGION) \
--function-name $(PROJECT) \
--zip-file fileb://$(FUNCTION).zip \