diff --git a/.github/workflows/terraform-stage.yml b/.github/workflows/terraform-stage.yml index 30cdbb1..61fe33c 100644 --- a/.github/workflows/terraform-stage.yml +++ b/.github/workflows/terraform-stage.yml @@ -22,6 +22,13 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Setup SSH key + env: + SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} + run: | + mkdir -p ~/.ssh + echo "$SSH_PRIVATE_KEY" > ~/.ssh/ailton-krenak.pem + # Instale a versão mais recente do Terraform CLI e defina a configuração do Terraform CLI. - name: Install Terraform run: |