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
If a user calls zappa update {{stage}} without the AWS s3:ListBucket permission the upload_to_s3 function in core.py it tries to create a new bucket instead of alerting the person they cannot access the bucket.
Expected Behavior
The zappa update {{stage}} call should error out and alert the user they cannot access the bucket they are trying to.
Actual Behavior
The zappa update {{stage}} continues and creates a new s3 bucket or, in my case errors out because the does not have permission to create a new S3 bucket.
Steps to Reproduce
Successfully deploy a zappa project
Create an AWS user or role with the following permissions.
Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.
Context
If a user calls
zappa update {{stage}}
without the AWSs3:ListBucket
permission theupload_to_s3
function incore.py
it tries to create a new bucket instead of alerting the person they cannot access the bucket.Expected Behavior
The
zappa update {{stage}}
call should error out and alert the user they cannot access the bucket they are trying to.Actual Behavior
The
zappa update {{stage}}
continues and creates a new s3 bucket or, in my case errors out because the does not have permission to create a new S3 bucket.Steps to Reproduce
zappa update {{stage}}
Your Environment
The text was updated successfully, but these errors were encountered: