diff --git a/.github/workflows/terraform-test.yaml b/.github/workflows/terraform-test.yaml new file mode 100644 index 0000000..fc222d0 --- /dev/null +++ b/.github/workflows/terraform-test.yaml @@ -0,0 +1,20 @@ +name: terraform-test +on: + push: + branches: [ "main"] + pull_request: + branches: [ "main" ] + + workflow_dispatch: + +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