-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Comments
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. |
Agreed. I like that. I can handle this. What’s a simple example for an
action with a Todo app?
…On Tue, Nov 17, 2020 at 10:14 PM Austin Rivas ***@***.***> wrote:
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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#53 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH32YS37RZX7K54LS63H2DSQN66VANCNFSM4NMNLLPA>
.
|
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. |
No description provided.
The text was updated successfully, but these errors were encountered: