You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 15, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 15, 2026. It is now read-only.
botocore.exceptions.ClientError: An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: The role defi
ned for the function cannot be assumed by Lambda.
deployment fails after this message
Starting new HTTPS connection (1): lambda.us-east-1.amazonaws.com
Creating your new Lambda function
Starting new HTTPS connection (1): sts.amazonaws.com
Starting new HTTPS connection (1): lambda.us-east-1.amazonaws.com
Activity
notexistence commentedon May 19, 2017
I have the same problem. Is there any way to work around this?
shaddu commentedon May 19, 2017
for me it worked when i added a new AWS IAM role = 'lambda_basic_execution' with lambda execution rights
jmeekhof commentedon May 22, 2017
@shaddu Can you elaborate on this a bit? I've created a role, but how do we tell our deployer which role to use?
shaddu commentedon May 23, 2017
@jmeekhof basically that role is expected in python-lambda execution. So if u manually create it and then use lambda deploy. It should work
Added missing instruction to README.md