Miserlou / Zappa

Serverless Python
https://blog.zappa.io/
MIT License
11.89k stars 1.21k forks source link

Zappa Update Dev raised an AccessDeniedError #2232

Open pl-jay opened 2 years ago

pl-jay commented 2 years ago

I'm trying to update my flask application deployed on AWS lambda, it was working fine at first and then i add CORS library to Flask app and tried to update it on AWS lambda, But when i run zappa update dev it failed with following error,

botocore.exceptions.ClientError: An error occurred (AccessDeniedException) when calling the UpdateFunctionCode operation: None

I have given all the permission to zappa user in IAM, but still i cannot update the flask app on lambda.

Any idea why ?

Thanks.