Skip to main content

Alert on Failure

Execute a command on a failed terrateam apply

tip

The TERRATEAM_ROOT environment variable points to the location of your checked out repository

workflows:
- tag_query: ""
apply:
- type: init
- type: apply
- type: run
cmd: ["$TERRATEAM_ROOT/scripts/notify.sh"]
run_on: failure