Skip to content

Detecting Changes in GitHub Repository Using AWS Services

0

Hello,

Please Is there a way to detect changes in my GitHub repository (set up using CloudFormation) using only AWS services, excluding CodePipeline, and without relying on GitHub services like webhooks or any third-party services?

Thank you.

1 Answer
2
Accepted Answer

Hi,

the simplest way I can think of is to set up a Github webook which will invoke an AWS Lambda from which you can do whatever you want on AWS Cloud.

See doc for webhooks: https://docs.github.com/en/webhooks/about-webhooks

Webhooks provide a way for notifications to be delivered to an external web server 
whenever certain events occur on GitHub.

You have a full sample here: https://github.com/chuyskywalker/aws-lambda-github-webhook

You can directly invoke Lambda via its inocation URL: https://aws.amazon.com/blogs/aws/announcing-aws-lambda-function-urls-built-in-https-endpoints-for-single-function-microservices/

Best,

Didier

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago
  • Thanks Didier & Thanks A J for the input

  • Hi, you're welcome! Glad that you liked the proposal. Thanks! Didier

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.