You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be related to #199 and #201 but, wanted to make sure I'm not missing something.
Simple hello world flask app was successfully deployed using 'zappa deploy'. Subsequently, running 'zappa update' throws an EntityAlreadyExists error as it trying to recreate the already existing 'ZappaLambdaExecution' role.
(workspace)agilman:~/workspace (master) $ zappa deploy dev
Creating ZappaLambdaExecution IAM Role...
Creating zappa-permissions policy on ZappaLambdaExecution IAM Role.
Packaging project as zip...
Warning! Your project and virtualenv have the same name! You may want to re-create your venv with a new name, or explicitly define a 'project_name', as this may cause errors.
Uploading zip (34.3MiB)...
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 36.0M/36.0M [00:59<00:00, 606Kit/s]
Scheduling keep-warm..
Creating API Gateway routes (this only happens once)..
1008it [02:00, 8.12it/s]
Deploying API Gateway..
Deployed! https://xxx.execute-api.us-east-1.amazonaws.com/dev
(workspace)agilman:~/workspace (master) $ zappa update dev
Creating ZappaLambdaExecution IAM Role...
An error occurred (EntityAlreadyExists) when calling the CreateRole operation: Role with name ZappaLambdaExecution already exists.
(workspace)agilman:~/workspace (master) $
Okay, I think this may be addressed in master now. So now you can set "manage_roles": false along with the role_name setting to use a pre-defined role, and Zappa won't try to update it. Previously, 'role_name' was just labeling, manage_roles: false will prevent Zappa from trying to meddle with IAM and failing.
This may be related to #199 and #201 but, wanted to make sure I'm not missing something.
Simple hello world flask app was successfully deployed using 'zappa deploy'. Subsequently, running 'zappa update' throws an EntityAlreadyExists error as it trying to recreate the already existing 'ZappaLambdaExecution' role.
Here are the IAM permissions for the user as well
The text was updated successfully, but these errors were encountered: