At ControlMonkey, we understand that every infrastructure deployment is unique. That’s why we built Custom Flow, a core feature of our Terraform CI/CD solution that allows you to integrate custom scripts before and after every phase of your Terraform deployment, from ‘terraform init to ‘terraform apply.’
With Custom Flow, DevOps teams can define pre- and post-execution step and automate essential tasks across their Terraform stacks.
Today, we are happy to announce that we’re taking it a step further by introducing Failure Behavior, which will give teams even more control over how deployments react to failing steps.
Custom Flow – Failure Behavior: Stop, Continue, or Ignore
Failures are inevitable when running complex infrastructure deployments.
But how your workflow responds to those failures makes all the difference.
With Failure Behavior, you can precisely define what happens when a custom script fails, ensuring a safer, more predictable deployment process.
Here’s what you can configure:
- stop: The run will stop if the custom step fails. (the default behavior)
- continue: The run will continue even if the custom step fails. However, the overall run will be considered failed when it ends.
- ignore: The run will continue even if the custom step fails. In this case, the overall run will be considered successful when it ends.

Without failure management, DevOps teams are forced to intervene manually when something goes wrong, leading to delays and uncertainty.
Failure Behavior is an additional automation layer on top of ‘Custom Flows,’ allowing ControlMonkey users to run Terraform with greater deployment confidence by defining clear failure-handling rules
Bringing Total Cloud Control with Terraform
With the addition of Failure Behavior, Custom Flow now gives you even more precision and automation in how your deployments handle unexpected scenarios.
ControlMonkey’s Terraform CI/CD solution provides all the tools to run your deployments with complete control on your terms.
Ready to take control of your infrastructure?
Meet with our Terraform experts for a 30-minute technical call to learn more.