amazon-web-servicesamazon-sqsgithub-webhook

Integrate Github with Amazon SQS with webhooks


Github has deprecated integrations and services and suggests to use webhooks or GitHub Apps instead. My doubt here is that AWS SQS requires autenthicated requests (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-api-request-authentication.html) and I can't achieve it through Github webhooks.

Does anybody has an ideia on this or have some solution that would like to share?


Solution

  • I would suggest configuring an API Gateway endpoint that triggers an AWS Lambda function, which inserts into your SQS queue. Then you would configure a Github webhook to hit the API Gateway endpoint.