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?

1 Antwort
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
beantwortet vor 6 Monaten
profile pictureAWS
EXPERTE
überprüft vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen