Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmellos committed Jan 3, 2024
1 parent d55aec9 commit dba541a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/iac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,16 @@ jobs:

- name: Set up SSH
run: |
mkdir -p ~/.ssh
echo "${{ env.PRIVATE_SSH_KEY_TFMODULES }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
git config --global user.email "[email protected]"
git config --global user.name "DevSecOps"
mkdir -p /home/runner/.ssh
ssh-keyscan github.com >> /home/runner/.ssh/known_hosts
echo "${{ secrets.PRIVATE_SSH_KEY_TFMODULES }}" > /home/runner/.ssh/github_actions
chmod 600 /home/runner/.ssh/github_actions
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add /home/runner/.ssh/github_actions
env:
PRIVATE_SSH_KEY_TFMODULES: ${{ secrets.PRIVATE_SSH_KEY_TFMODULES }}
SSH_AUTH_SOCK: /tmp/ssh_agent.sock


- name: Configure AWS Credentials
uses: aws-actions/[email protected]
with:
Expand Down

0 comments on commit dba541a

Please sign in to comment.