zappa / Zappa

Serverless Python
https://zappa.ws/zappa
MIT License
3.35k stars 362 forks source link

Fix SqsEventSource.status error handling in utilities.py #1318

Closed lmuther8 closed 1 month ago

lmuther8 commented 8 months ago

Description

**Expected Behavior** The zappa update {{stage}} command should fail and alert the user their permissions are not enough. **Actual Behavior** The program thinks the event source does not exist, tries to create one with the same UUID and then this error is caused: ``` botocore.errorfactory.ResourceConflictException: An error occurred (ResourceConflictException) when calling the CreateEventSourceMapping operation: An event source mapping with SQS arn (" arn:aws:sqs:us-west-2:: ") and function (" ") already exists. Please update or delete the existing mapping with UUID ``` ## GitHub Issues

Closes #1317

github-actions[bot] commented 1 month ago

Hi there! Unfortunately, this PR has not seen any activity for at least 90 days. If the PR 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.

github-actions[bot] commented 1 month ago

Hi there! Unfortunately, this PR was automatically closed as it had not seen any activity in at least 100 days. If the PR is still relevant to the latest version of Zappa, please open a new PR.