-
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
S3 triggers apply incorrectly with multiple stages using the same bucket #2111
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
If multiple stages use the same S3 bucket and events but with different prefixes, deployments, undeployments, schedules apply the S3 bucket events incorrectly.
Expected Behavior
Each stage should be capable of deploying it's own triggers and underlying only its own triggers.
Actual Behavior
The first deployment works correctly but subsequent deployments do not add the events for those stages. Undeployment of any stage deletes all events if the missing events have been added manually.
Possible Fix
During deployment or undeployment, bucket notification configurations in place as identified by trigger id should be compared to desired state (current state plus or minus event in question) and resulting configuration applied to the bucket.
Steps to Reproduce
Using zappa_settings.json below:
zappa deploy dev
zappa deploy stage
Your Environment
zappa_settings.json
:The text was updated successfully, but these errors were encountered: