Reputation: 479
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?
Upvotes: 1
Views: 1552
Reputation: 410
you can set up the amazon API gateway with the full access role for sqs and create an API in that to post the webhook in SQS queue.
Webhook Processing with API Gateway and SQS. This will help.
Upvotes: 0
Reputation: 201103
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.
Upvotes: 2