# provider "github" { # base_url = "https://github.mdr.defpoint.com/api/v3/" # version = "~> 4.1.0" # organization = "mdr-engineering" # } # data "github_repository" "syslog-ng-container" { # full_name = "mdr-engineering/mdr-syslog-ng-container" # } # resource "github_repository_webhook" "syslog-ng-container" { # active = true # events = ["push"] # repository = "${data.github_repository.syslog-ng-container.name}" # configuration { # url = "${aws_codebuild_webhook.syslog-ng-container.payload_url}" # secret = "${aws_codebuild_webhook.syslog-ng-container.secret}" # content_type = "json" # insecure_ssl = false # } # }