Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
adding deploy script to push lambda code via the aws cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliott Spira committed Sep 10, 2015
1 parent dcd69a8 commit 5ab3af5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deploy_lambda_code.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

echo Zipping code for deployment
zip code.zip lib/autotag.js

echo Uploading code via AWS CLI
aws lambda --region ap-northeast-1 update-function-code --function-name arn:aws:lambda:ap-northeast-1:002790823159:function:gs_autotag --zip-file fileb:///home/e/dev/gs/autotag/code.zip

0 comments on commit 5ab3af5

Please sign in to comment.