jhatler / janus

Just Another Neural Utility System
MIT License
1 stars 3 forks source link

feat: add stack for receiving webhooks #337

Closed jhatler closed 2 months ago

jhatler commented 2 months ago

This adds a webhooks stack that will be used to receive webhooks related to the control repository. New roles and policies are added to the auth stack to allow the webhooks stack to interact with SQS, CloudWatch, DynamoDB, and EC2.

The initial implementation of the webhooks stack simply receives the payload from the webhook and writes it to SQS. The webhooks stack will have a Lambda function that will be triggered by the SQS message and will process the webhook payload. This needs added on a subsequent PR.

Fixes: #336

infracost[bot] commented 2 months ago

Infracost free monthly run limit exceeded. Please contact hello@infracost.io to purchase usage pack.: 403 Forbidden Infracost free monthly run limit exceeded. Please contact hello@infracost.io to purchase usage pack.