Sets up a CodeBuild webhook and a GitHub Enterprise repository webhook to trigger builds on push events.

Terraform Template

resource "aws_codebuild_webhook" "example" {
  project_name = "aws_codebuild_project.example.name"
}

resource "github_repository_webhook" "example" {
}