Skip to content

Commit

Permalink
feat: pass GitHub App credentials to terraform-validate action for SS…
Browse files Browse the repository at this point in the history
…H module pulls

- Pass GH_APP_PEM_FILE, GH_APP_INSTALLATION_ID, GH_APP_ID to CSVD/terraform-validate
- Action now handles gh-auth + insteadOf git config internally
- Fixes SSH host key verification failures during terraform init
- Resolves CSVDIES-10490
  • Loading branch information
Dave Arnold committed Jul 23, 2026
1 parent f11f647 commit 8fceca9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/terraform-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
workflow_dispatch:

jobs:

terraform-validate:
runs-on: "229685449397"
permissions:
Expand All @@ -16,11 +15,15 @@ jobs:
- name: Setup Terraform
uses: CSVD/gh-actions-setup-terraform@v2
with:
terraform_version: '1.10.5'
terraform_version: "1.10.5"

- name: Validate Terraform Configuration
id: validate
uses: CSVD/terraform-validate@main
with:
github_app_pem_file: ${{ secrets.GH_APP_PEM_FILE }}
github_app_installation_id: ${{ vars.GH_APP_INSTALLATION_ID }}
github_app_id: ${{ vars.GH_APP_ID }}

- name: Check Validation/Test Results
if: always()
Expand Down

0 comments on commit 8fceca9

Please sign in to comment.