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

已提問 6 個月前檢視次數 324 次
1 個回答
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
專家
已回答 6 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南