Lambda create_function via local python SDK - Error The role defined for the function cannot be assumed by Lambda

0

Hi all, I want to create and update lambda functions from my local computer. I have created a role which has the permission AWSLambda_FullAccess. When I try to create and update lambda functions I get the error "The role defined for the function cannot be assumed by Lambda" The policy simulator shows: denied Denied by AWS Organizations.

Could you please give me a hint, how to solve this topic.

BR Hubert

demandé il y a 6 mois330 vues
1 réponse
0

Hello.

What code are you trying to create the Lambda function with?
Also, is it possible to create it from the management console?
Since you may be using AWS Organizations, we also recommend checking to see if it is being rejected by SCP, etc.

profile picture
EXPERT
répondu il y a 6 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions