From 6b4dfaa1c7747e3da613851d4d92a6a1cf1097c4 Mon Sep 17 00:00:00 2001 From: digorgonzola <29941279+digorgonzola@users.noreply.github.com> Date: Tue, 12 Dec 2023 01:03:42 +1100 Subject: [PATCH] workflows: re-enable TF_INPUT=0 option --- .github/workflows/deploy-production.yml | 2 ++ .github/workflows/deploy-staging.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index dbc6fde..93b6ebc 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -71,6 +71,7 @@ jobs: run: terragrunt plan -out=tf.plan working-directory: ${{ env.tg_dir }} env: + TF_INPUT: 0 TF_IN_AUTOMATION: true # get the image digest from the build job with optional override from vars context TF_VAR_image: ${{ vars.IMAGE || steps.set_image_digest.outputs.image_digest }} @@ -80,6 +81,7 @@ jobs: run: terragrunt apply -auto-approve tf.plan working-directory: ${{ env.tg_dir }} env: + TF_INPUT: 0 TF_IN_AUTOMATION: true # get the image digest from the build job with optional override from vars context TF_VAR_image: ${{ vars.IMAGE || steps.set_image_digest.outputs.image_digest }} diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index a155f6f..faf0d0e 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -108,6 +108,7 @@ jobs: run: terragrunt apply -auto-approve tf.plan working-directory: ${{ env.tg_dir }} env: + TF_INPUT: 0 TF_IN_AUTOMATION: true # get the image digest from the build job with optional override from vars context TF_VAR_image: ${{ vars.IMAGE || needs.build_test_push.outputs.image_digest }}