I'd love to be able to use your project to run Lambda functions. Unfortunately, I'm getting stuck at the initial steps. I'm hoping you wouldn't mind providing a hint to get me past a roadblock.
I've tried to create a AWS user, role, and policy to allow node-lambda to work. When I try using node-lambda to deploy the node-lambda-template, I see this error:
[/_/Workspace/gits/node-lambda-template]$ ./node_modules/.bin/node-lambda deploy [master]
Generating zip file
Reading zip file to memory
Uploading zip file to AWS Lambda with parameters:
{ FunctionName: 'tutorial-development',
FunctionZip: <Buffer 50 4b 03 04 14 00 00 00 08 00 29 17 99 46 a9 f3 94 05 8e 00 00 00 4b 01 00 00 08 00 1c 00 69 6e 64 65 78 2e 6a 73 55 54 09 00 03 cd 3a 3b 55 d1 3a 3b 55 ...>,
Handler: 'index.handler',
Mode: 'event',
Role: 'lambda_basic_execution',
Runtime: 'nodejs',
Description: '',
MemorySize: '128',
Timeout: '3' }
{ [ValidationException: 1 validation error detected: Value 'lambda_basic_execution' at 'role' failed to satisfy constraint: Member must satisfy regular expression pattern: arn:aws:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+]
message: '1 validation error detected: Value \'lambda_basic_execution\' at \'role\' failed to satisfy constraint: Member must satisfy regular expression pattern: arn:aws:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+',
code: 'ValidationException',
time: Sat Apr 25 2015 03:15:57 GMT-0400 (EDT),
statusCode: 400,
retryable: false,
retryDelay: 30 }
Here is a screenshot of my AWS setting for a user 'node-lambda' that I created for using your project: