This is the repository that contains the sample code for the codecentric blog article Use AWS CodeBuild to trigger build pipeline.
module "codebuild_webhook" {
source = "terraform/modules/CodeBuild-WebHook"
codebuild_project_name = "myCodeBuildProject"
file_path_placeholders = ["team_A/frontend/.*", "team_A/backend/.*"]
head_ref_placeholder = "develop"
webhookcli_prefix = "myWebhook"
is_enabled = "${local.environment == "dev" ? true : false }"
}