-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Zappa doesn't report if it fails to add a event source that is already listened-to #506
Comments
+1, excellent bug. Was there a warning, or anything at all, in the output? Do you want to submit a Pull Request for this? |
Zappa outputs this I don't have a PR and I am not sure when I can get around to fixing this. |
Upon little investigations, the problem is in |
Hi, Sorry to bring up the past here but was this issue ever solved? We recently encountered it while deploying to one of our production functions. The result was that the lambda function was updated, but as far as I understand it, the ObjectCreated* event wasn't recreated with it, which lead to the updated lambda to not being invoked. Specifically, for working updates I see these CLI output lines:
But for the update that resulted in the issue I saw this output:
Appreciate your feedback, |
Any way to reuse the trigger for the same bucket or clear the settings? |
Seems like this has not been resolved. I'm experiencing the same behavior as @boarik |
Actually if you have any error creating the event the deploy won't stop... |
I had a
zappa_settings.json
with this event source (the bucket name is fake obviously).by mistake, I specified a bucket that already was used as event source for a different lambda.
Because AWS S3 does not support sending more than one event per uploaded file (multiple notifications can be set for a bucket, but they must not overlap), setting this event source as a trigger for the lambda fails, but zappa reports successful deployment.
I would expect/like zappa to abort the deployment with some error message.
The text was updated successfully, but these errors were encountered: