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 Risposta
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
con risposta 6 mesi fa
profile pictureAWS
ESPERTO
verificato 6 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande