I'm trying to delete the Lambda function, it is throwing an error
An error occurred when deleting your function: You do not have sufficient permission. Access denied.
I never got this issue before. I even tried using an IAM user with Administrator access permissions. Still the same issue.
Also, I'm trying to make deployments to a Lambda function, which is also throwing an error.
An error occurred: <FunctionName>LambdaFunction - Resource handler returned message: "null (Service: Lambda, Status Code: 403, Request ID: xxxxxxxx-xxxx-xxxx-xxxx-1071e7f17536, Extended Request ID: null)" (RequestToken: xxxxxxxx-xxxx-xxxx-xxxx-9602c6f12b36, HandlerErrorCode: AccessDenied).
I'm not able to modify anything on the Lambda Console (not even increase a function's memory limit). All other AWS services are working normally.
This started happening after deleting a specific cloud formation stack by skipping its Lambda function.