Skip to content

Commit

Permalink
feat: Add terraform test github action
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenMakandra authored and moritz-makandra committed Mar 14, 2024
1 parent 68e7832 commit 42c375e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/terraform-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: terraform-test
on:
push:
branches: [ "main"]
pull_request:
branches: [ "main" ]

workflow_dispatch:

permissions: read-all

jobs:
terraform_test:
runs-on: ubuntu-latest
container: hashicorp/terraform:1.7.5
permissions:
contents: read
actions: read
steps:
- uses: actions/checkout@v4
- run: terraform init
- run: terraform test

0 comments on commit 42c375e

Please sign in to comment.