Skip to content

Commit

Permalink
Run terraform test on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
hammerhead committed Dec 18, 2023
1 parent 10beeea commit b6df2a0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/tflint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ jobs:
- run: tflint --init
- run: tflint --format compact

test_aws:
runs-on: ubuntu-latest
defaults:
run:
working-directory: aws
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
- run: terraform init
- shell: bash
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
terraform test
lint_azure:
runs-on: ubuntu-latest
defaults:
Expand Down

0 comments on commit b6df2a0

Please sign in to comment.