Skip to content

Instantly share code, notes, and snippets.

View deepak0004's full-sized avatar

Deepak Thukral deepak0004

View GitHub Profile
@deepak0004
deepak0004 / aws.lambda.upload.error.output
Created June 15, 2017 05:03 — forked from djm/aws.lambda.upload.error.output
Node Lambda Upload Error: "Cross-account pass role is not allowed"
Reading zip file to memory
Uploading zip file to AWS Lambda eu-west-1 with parameters:
{ FunctionName: 'xxx-staging-1-0-0',
FunctionZip: <Buffer 50 478 0b 00 ...>,
Handler: 'index.handler',
Mode: 'event',
Role: 'arn:aws:iam::xxx:role/xxx',
Runtime: 'nodejs',
Description: 'Resizes images for the xxx project.',
MemorySize: '512',