2

I am trying to create a simple lambda function using Hello World example. No matter what I try, I always get "Request failed with status code 403". My account has AdministratorAccess. I tried policy simulator and it says I do have permission to create a function.

the screenshot of the error from AWS Console

5
  • You are not the first one reporting this. What region are you using? Commented Nov 10, 2020 at 23:43
  • I am using Tokyo (ap-northeast-1) but also tried us-east-1. Same error. Commented Nov 10, 2020 at 23:46
  • Can you go to "personal Health dashobord"? Maybe an issue is limited to your selected accounts only. I checked in us-east-1 and I have no problems creating functions. Commented Nov 10, 2020 at 23:49
  • 1
    Thanks, I went there and didn't find anything on the dashboard. However, in Event Logs, I found the "Risk IAM quarantine" event which is in open status... I went to support console and found that there has been some emails going on and basically they're saying there was a suspicious activity and therefore limiting my access... this could be it. I am in the middle of resolving the case and will let you know how it goes! Thank you very much for your help! Commented Nov 11, 2020 at 0:26
  • No problem. If you don't mind I will provide an answer for future reference. Commented Nov 11, 2020 at 0:37

1 Answer 1

1

Based on the comments.

Checking out Event Logs in AWS Personal Health Dashboard shows that the permissions on the account could be temporary limited due to Risk IAM quarantine and some suspicious activity.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks for your help. In their email, they basically asked me to "delete (rotate) API keys for all IAM users as these might be potentially compromised". I followed the instruction and invalidated all API keys from all IAM users, and replied to the support. After a while, I just went ahead and retried creating a HelloWorld lambda. Guess what, it all works now! Thank you very much again
hi @YuSasaki , I was facing the same issue. Though I made changes based on your comment and now its started working properly. Thanks again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.