runatlantis / atlantis

Terraform Pull Request Automation
https://www.runatlantis.io
Other
7.82k stars 1.06k forks source link

webhooks after plan/apply #831

Open tewing-riffyn opened 5 years ago

tewing-riffyn commented 5 years ago

Is it possible to have Atlantis execute a webhook after a failed apply? When an apply fails it can leave everything semi-broken so we need to address it right away. I'd like to trigger our alerting system or send a slack message.

If this isn't possible I wonder if I could write a terraform local-exec to do this. https://www.terraform.io/docs/provisioners/local-exec.html

Thank you.
-Terry

lkysow commented 4 years ago

You could write a custom workflow that detected the failed apply but there's no built-in way to do it.