Skip to content

Commit

Permalink
fix(terraform-actions): reduce some non-actionable output from comman…
Browse files Browse the repository at this point in the history
  • Loading branch information
mdobosz-isp and Aaron Batilo authored Sep 2, 2020
1 parent 3be5120 commit 704d6fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform-actions/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ if [ "$#" -ne 2 ]; then
exit 1
fi

# This will reduce certain non-actionable command output
# See: https://learn.hashicorp.com/tutorials/terraform/automate-terraform#controlling-terraform-output-in-automation
export TF_IN_AUTOMATION=true

workingDir="$2"
function main {
command="$1"
Expand Down

0 comments on commit 704d6fe

Please sign in to comment.