From 0aca3f5d91382ad8677874a37300d6887060875d Mon Sep 17 00:00:00 2001 From: Lucas Mellos Carlos Date: Thu, 4 Jan 2024 16:15:11 -0300 Subject: [PATCH] debug --- .github/workflows/iac.yml | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/.github/workflows/iac.yml b/.github/workflows/iac.yml index 7ca38aca..6ecc4398 100644 --- a/.github/workflows/iac.yml +++ b/.github/workflows/iac.yml @@ -162,21 +162,27 @@ jobs: - run: vault secrets list - uses: opentofu/setup-opentofu@v1 - - name: Init - id: init - uses: gruntwork-io/terragrunt-action@v1.0.10 - with: - tf_version: 1.5.7 - tg_version: 0.54.12 - tg_dir: ${{ inputs.WORKING_DIR }} - tg_command: 'run-all init' - env: - # configure git to use custom token to clone repository. - INPUT_PRE_EXEC_1: | - git config --global url."https://user:${{secrets.PAT_GIT}}@github.com".insteadOf "https://github.com" - # print git configuration - INPUT_PRE_EXEC_2: | - git config --global --list + - run: git config --global url."https://user:${{secrets.PAT_GIT}}@github.com".insteadOf "https://github.com" + - run: git config --global --list + - uses: eLco/setup-terragrunt@v1 + - run: | + cd ${{ inputs.WORKING_DIR }} + terragrunt run-all init --terragrunt-non-interactive + # - name: Init + # id: init + # uses: gruntwork-io/terragrunt-action@v1.0.10 + # with: + # tf_version: 1.5.7 + # tg_version: 0.54.12 + # tg_dir: ${{ inputs.WORKING_DIR }} + # tg_command: 'run-all init' + # env: + # # configure git to use custom token to clone repository. + # INPUT_PRE_EXEC_1: | + # git config --global url."https://user:${{secrets.PAT_GIT}}@github.com".insteadOf "https://github.com" + # # print git configuration + # INPUT_PRE_EXEC_2: | + # git config --global --list - name: Validate uses: gruntwork-io/terragrunt-action@v1.0.10