Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save deepak0004/d5c5cb49756fb2ff2d8f5f382dd28f01 to your computer and use it in GitHub Desktop.
Save deepak0004/d5c5cb49756fb2ff2d8f5f382dd28f01 to your computer and use it in GitHub Desktop.
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',
Timeout: '60' }
{ [AccessDeniedException: Cross-account pass role is not allowed.]
message: 'Cross-account pass role is not allowed.',
code: 'AccessDeniedException',
time: Mon Jul 27 2015 12:10:03 GMT+0100 (BST),
statusCode: 403,
retryable: false,
retryDelay: 30 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment