python-lambda
python-lambda copied to clipboard
AccessDeniedException Error while lambda deploy
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 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 ?