Skip to content
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

There is no way to configure SQS event handlers dynamically #2112

Open
jiaaro opened this issue Jun 9, 2020 · 0 comments
Open

There is no way to configure SQS event handlers dynamically #2112

jiaaro opened this issue Jun 9, 2020 · 0 comments

Comments

@jiaaro
Copy link

jiaaro commented Jun 9, 2020

In an app I work on we create SQS queues as part of deployment and, as a result, we don't know their ARNs before deploying the application. This makes it tricky to put those ARNs in our zappa_settings.yaml.

I propose a default_event_handler where users can set the path to a function to be called for any events which are not handled using the event handlers. This would provide an escape hatch for users like us, as well as a way for early adopters of new AWS technologies to use aws events that zappa doesn't explicitly support yet.

I have begun implementing this in my fork

@jiaaro jiaaro changed the title There is no way to configure SQS event handlers dynamically There is no way to configure SQS (or any) event handlers dynamically Jun 9, 2020
@jiaaro jiaaro changed the title There is no way to configure SQS (or any) event handlers dynamically There is no way to configure SQS event handlers dynamically Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant