From 4eee2e9e0dd8ce99bd120d5b4f7bbd1c298542e3 Mon Sep 17 00:00:00 2001 From: Simon Heather <32168619+X-Guardian@users.noreply.github.com> Date: Wed, 24 May 2023 16:51:22 +0100 Subject: [PATCH] Add Terragrunt Docs TF_IN_AUTOMATION (#3443) --- runatlantis.io/docs/custom-workflows.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/runatlantis.io/docs/custom-workflows.md b/runatlantis.io/docs/custom-workflows.md index 4dec06462..13151ffdd 100644 --- a/runatlantis.io/docs/custom-workflows.md +++ b/runatlantis.io/docs/custom-workflows.md @@ -260,6 +260,10 @@ workflows: - env: name: TERRAGRUNT_TFPATH command: 'echo "terraform${ATLANTIS_TERRAFORM_VERSION}"' + - env: + # Reduce Terraform suggestion output + name: TF_IN_AUTOMATION + value: 'true' - run: terragrunt plan -input=false -out=$PLANFILE - run: terragrunt show -json $PLANFILE > $SHOWFILE apply: @@ -267,6 +271,10 @@ workflows: - env: name: TERRAGRUNT_TFPATH command: 'echo "terraform${ATLANTIS_TERRAFORM_VERSION}"' + - env: + # Reduce Terraform suggestion output + name: TF_IN_AUTOMATION + value: 'true' - run: terragrunt apply -input=false $PLANFILE ``` @@ -285,12 +293,20 @@ workflows: - env: name: TERRAGRUNT_TFPATH command: 'echo "terraform${ATLANTIS_TERRAFORM_VERSION}"' + - env: + # Reduce Terraform suggestion output + name: TF_IN_AUTOMATION + value: 'true' - run: terragrunt plan -out $PLANFILE apply: steps: - env: name: TERRAGRUNT_TFPATH command: 'echo "terraform${ATLANTIS_TERRAFORM_VERSION}"' + - env: + # Reduce Terraform suggestion output + name: TF_IN_AUTOMATION + value: 'true' - run: terragrunt apply $PLANFILE ```