From 137d4bd56282bc0a707e115392f019a8e7895bd5 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Fri, 13 Nov 2026 12:51:59 +0100 Subject: [PATCH] Disable Terraform coloured output Coloured output is making logs hard to read. Disable it everywhere. --- .github/workflows/terraform-github.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/terraform-github.yml b/.github/workflows/terraform-github.yml index 4b0d3cb3..fc11568d 100644 --- a/.github/workflows/terraform-github.yml +++ b/.github/workflows/terraform-github.yml @@ -17,6 +17,7 @@ concurrency: - "terraform/github/**" workflow_dispatch: env: + TF_CLI_ARGS: "-no-color" TF_VAR_GITHUB_APP_PEM_FILE: ${{ secrets.TF_VAR_GITHUB_APP_PEM_FILE }} AWS_ACCESS_KEY_ID: ${{ secrets.TF_S3_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.TF_S3_SECRET_ACCESS_KEY }} @@ -45,13 +46,13 @@ jobs: - name: Terraform Validate id: validate - run: terraform validate -no-color + run: terraform validate - name: Terraform Plan id: plan run: | terraform plan -out=plan.tmp - terraform show -no-color plan.tmp >${GITHUB_WORKSPACE}/plan.out + terraform show plan.tmp >${GITHUB_WORKSPACE}/plan.out continue-on-error: true - name: Install fs module