From f9e70bd7594463605c65c6703a0fc0f30ac22d40 Mon Sep 17 00:00:00 2001 From: Sergei Ryabkov Date: Thu, 25 Apr 2019 10:29:06 -0400 Subject: [PATCH 1/2] Update custom-workflows.md --- runatlantis.io/docs/custom-workflows.md | 1 + 1 file changed, 1 insertion(+) diff --git a/runatlantis.io/docs/custom-workflows.md b/runatlantis.io/docs/custom-workflows.md index f84af536ed..45667ff9fe 100644 --- a/runatlantis.io/docs/custom-workflows.md +++ b/runatlantis.io/docs/custom-workflows.md @@ -328,3 +328,4 @@ will execute a custom script containing the following code to create a SSH tunne `ssh -f -M -S /tmp/ssh_tunnel -L 3306:database:3306 -N bastion 1>/dev/null 2>&1`. Without the redirect, the script would block the Atlantis workflow. ::: +* If a workflow step returns a non-zero exit code, the workflow will stop. From 263eff7fbdf55211e055ed3d367890cb9f581ffc Mon Sep 17 00:00:00 2001 From: Sergei Ryabkov Date: Thu, 25 Apr 2019 11:08:57 -0400 Subject: [PATCH 2/2] fix the placement of the note --- runatlantis.io/docs/custom-workflows.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runatlantis.io/docs/custom-workflows.md b/runatlantis.io/docs/custom-workflows.md index 45667ff9fe..2892df90b7 100644 --- a/runatlantis.io/docs/custom-workflows.md +++ b/runatlantis.io/docs/custom-workflows.md @@ -327,5 +327,6 @@ the terraform run) when its output is redirected to a different location. For ex will execute a custom script containing the following code to create a SSH tunnel correctly: `ssh -f -M -S /tmp/ssh_tunnel -L 3306:database:3306 -N bastion 1>/dev/null 2>&1`. Without the redirect, the script would block the Atlantis workflow. -::: * If a workflow step returns a non-zero exit code, the workflow will stop. +::: +