To use
- Install the AWS command line tools
brew install aws-cli
andaws configure
with your creds - Create a new bucket to store your deployments
aws s3 mb s3://<yourbucket>
export S3_DEPLOY_BUCKET=<yours3 bucket>
export AWS_DEFAULT_REGION=<your region>
./deploy.sh
will output the URL for your API
- After deploying, add "/" to Binary Media Types in "Binary Support" section of API Gateway in the console (there's probably some way to do this on the command line)
- If you get some sort of permissions error, Edit and save "Lambda Function" to same value in "Integration Request" section of "Resources" of the "{proxy+}.ANY" section of "Resources in "API Gateway"