I’ve been using
aws_codepipeline_webhook to create webhook triggers for my codepipeline. I was looking to do the following setup:
- Dev Pipeline: Trigger on merge to
- Stage Pipeline: Trigger on merge to
- Prod Pipeline: Trigger on push of a git tag to
1 and 2 were easy to figure out and the provider documentation did a good job of showing how to accomplish that.
3 is where I got held up. I attempted the following different values in the
But neither of those worked.
I’ve since put this down, and put a manual approval step before my Prod CodePipeline’s
Deploy stage, so that the pipeline is executed on merge to master, but it requires a manual approval before the deployment to my cluster is actually kicked off. That is fine for now, but I am still wondering if it was possible to trigger that pipeline off of a git tag push and if I just missed somewhere on how to do so.