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

preguntada hace 6 meses324 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace 6 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas