AWS Lambda Create Function - Request failed with status code 403

巧了我就是萌 提交于 2020-12-12 06:48:45

问题


Trying to create a new AWS Lambda Function with the root account for the first time using management console. I am receiving the error "Request failed with status code 403" no matter how many different options I tried.

I've already tried changing my region, creating the function with default role(basic lambda permissions), new role, existing role and with the options "Author from Scratch", "Use a blueprint", "Serverless app repository" but still getting the same error.

How can i troubleshoot and solve this problem?


回答1:


Based on the comments.

The issue was resolved by checking Event Logs AWS Personal Health Dashboard, which indicated that permissions on the account were temporary limited by AWS due to Risk IAM quarantine and some suspicious activity.




回答2:


Faced with same issue, but "Personal Health Dashbord" is clear for me, nothing strange here.

Just about month ago i created it successfully. Also, my free tier plan was expired, but may be it the reason?

Also, can't delete old functions :




回答3:


Go to IAM roles. Your role already there In Lambda function configuration first try to use an existing role and chooes the role name with your function name. see if thats works.

Else since its free teir delete all IAM roles and try again



来源:https://stackoverflow.com/questions/64764286/aws-lambda-create-function-request-failed-with-status-code-403

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!