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 b1aa11b commit a95243a
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/iac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ jobs:
# env:
# PRIVATE_SSH_KEY_TFMODULES: ${{ secrets.PRIVATE_SSH_KEY_TFMODULES }}
# SSH_AUTH_SOCK: /tmp/ssh_agent.sock
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.PRIVATE_SSH_KEY_TFMODULES }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- run: git clone [email protected]:signalwire/terraform-modules.git
# - name: Install SSH key
# uses: shimataro/ssh-key-action@v2
# with:
# key: ${{ secrets.PRIVATE_SSH_KEY_TFMODULES }}
# known_hosts: ${{ secrets.KNOWN_HOSTS }}
# - run: git clone [email protected]:signalwire/terraform-modules.git

- name: Configure AWS Credentials
uses: aws-actions/[email protected]
Expand Down Expand Up @@ -177,19 +177,19 @@ jobs:

- uses: opentofu/setup-opentofu@v1
- name: Plan
uses: gruntwork-io/terragrunt-action@v2
uses: gruntwork-io/terragrunt-action@v1.0.10
with:
tf_version: 1.5.7
tg_version: 0.53.2
tg_dir: ${{ inputs.WORKING_DIR }}
tg_command: 'plan'
# 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
tg_command: '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: run terragrunt
# uses: autero1/[email protected]
# with:
Expand Down

0 comments on commit a95243a

Please sign in to comment.