Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AccessDeniedException Error while lambda deploy #715

Open
SyedShahzaib790 opened this issue Mar 6, 2022 · 1 comment
Open

AccessDeniedException Error while lambda deploy #715

SyedShahzaib790 opened this issue Mar 6, 2022 · 1 comment

Comments

@SyedShahzaib790
Copy link

SyedShahzaib790 commented Mar 6, 2022

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

@bot2x
Copy link

bot2x commented Aug 2, 2022

@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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants