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

feita há 6 meses330 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 6 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas