I always got "Unkown Error" when I open "Lambda" menu.

0

Hi guys, When I had login as "IAM" root account. and open "Lambda" menu, I always got "Unknown Error" message.

  • and when I tried make new Lambda function => I can't make it.
  • and When I see the function list on Visual studio AWS explorer, it shows up "Access denied exception".
  • and When I tried deploy my old code to "Lambda", It had failed with "Access denied exception"

How to fix my problem?

已提問 6 個月前檢視次數 172 次
1 個回答
0

The "root" user of an account can be restricted using Service control policies (SCPs), in AWS Organizations. The error you describe implies that there might be an SCP in place.

You can verify the presence of an SCP by navigating to AWS Organizations, and then check the "Policies" on the OU where the account is located. Note that SCPs might also be created by AWS Control Tower (if you use it), so please be careful changing existing SCP.

Please also note that there is a total of ~10 actions which really require root user permissions. Following least privilege, I therefore recommend not using this user unless you need to execute one of those actions, and use (preferably) IAM Identity Center access or (if needed) IAM users instead.

profile pictureAWS
Michael
已回答 6 個月前
profile pictureAWS
專家
已審閱 6 個月前

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

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

回答問題指南