python-lambda icon indicating copy to clipboard operation
python-lambda copied to clipboard

AccessDeniedException Error while lambda deploy

Open SyedShahzaib790 opened this issue 3 years ago • 1 comments

Hi there,

I am unable to deploy my code on lambda using python-lambda library. It's giving me the following error, I have given all access/permission to my user but this error is not going away. Need help ASAP.

botocore.exceptions.ClientError: An error occurred (AccessDeniedException) when calling the GetFunction operation: User: arn:aws:iam::123456:user/shahzaib.ali is not authorized to perform: lambda:GetFunction on resource: arn:aws:lambda:me-south-1:123456:function:GKQA with an explicit deny in an identity-based policy

Thanks

SyedShahzaib790 avatar Mar 06 '22 13:03 SyedShahzaib790

@SyedShahzaib790 Is this resolved ?

Seems like the IAM user that you used to deploy the function does not have the right permissions. Who manages permissions in your case ?

bot2x avatar Aug 02 '22 18:08 bot2x