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

Hasura actions template #53

Open
tiagob opened this issue May 27, 2020 · 3 comments
Open

Hasura actions template #53

tiagob opened this issue May 27, 2020 · 3 comments

Comments

@tiagob
Copy link
Owner

tiagob commented May 27, 2020

No description provided.

@gjolund
Copy link

gjolund commented Nov 18, 2020

Since you are already providing the pulumi aws provider I think the best way to do this is by provisioning an aws lambda function and api gateway endpoint that is used by a hasura action.

Let me know if you need a hand with this, I have some generic hasura / lambda boilerplate that might be helpful.

@tiagob
Copy link
Owner Author

tiagob commented Nov 19, 2020 via email

@gjolund
Copy link

gjolund commented Nov 20, 2020

The easiest action I could think of would be to just provide an echo function that sends back whatever you send it, but if you want something specific to the todo app maybe an email notification on item completion?

I've written some code to extract and validate hasura action body and headers using the codegen types, but I think it might be a little to abstract for a simple example.

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

2 participants