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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ