I currently have a terraform script that builds an AWS CodePipeline triggered by a GitHub webhook. It works fine, update to the repo triggers the build.
We also have a secondary repo with some content. Is it possible to have the same pipeline to be triggered by a webhook to that secondary repo? It should do exactly the same thing (pull the same source from the first repo and run the build) but triggered on the update to the secondary repo.
Terraform allows you to create the second webhook and attach it to the same pipeline, but the trigger doesn't seem to work.