Skip to content

Commit

Permalink
MAV-328: Test terraform configuration in CI (#3110)
Browse files Browse the repository at this point in the history
- Running terraform validate requires no login credentials
  -  Serves as a good static check for any pipeline
  • Loading branch information
TheOneFromNorway authored Feb 28, 2025
2 parents 42ba77e + bb9004e commit 6fcd8d6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,17 @@ jobs:
name: playwright-report
path: playwright?report
retention-days: 10

terraform:
name: Terraform Validate
runs-on: ubuntu-latest
defaults:
run:
working-directory: terraform
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.10.5
- run: terraform init -backend=false
- run: terraform validate

0 comments on commit 6fcd8d6

Please sign in to comment.