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 Respuesta
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
respondido hace 6 meses
profile pictureAWS
EXPERTO
revisado hace 6 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas