Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmellos committed Jan 4, 2024
1 parent 3d70d85 commit 0aca3f5
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions .github/workflows/iac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,21 +162,27 @@ jobs:
- run: vault secrets list
- uses: opentofu/setup-opentofu@v1

- name: Init
id: init
uses: gruntwork-io/[email protected]
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/[email protected]
# 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/[email protected]
Expand Down

0 comments on commit 0aca3f5

Please sign in to comment.