Skip to content

Commit

Permalink
Update terraform-validate.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Apr 14, 2025
1 parent 9335f0b commit d5dc8cb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/terraform-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,20 @@ jobs:
uses: CSVD/gh-actions-setup-terraform@v2
with:
terraform_version: '1.7.3'


- name: Setup GITHUB Credentials
id: github_credentials
uses: CSVD/gh-auth@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: Validate Terraform Configuration
id: validate
uses: CSVD/terraform-validate@main
env:
GITHUB_TOKEN: ${{ steps.github_credentials.outputs.github_token }}

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

0 comments on commit d5dc8cb

Please sign in to comment.