We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f928eba commit 1e4a1daCopy full SHA for 1e4a1da
.github/workflows/terraform-checks.yaml
@@ -25,6 +25,34 @@ jobs:
25
id: fmt
26
run: terraform test
27
28
+ validateExamples:
29
+ name: Terraform Validate Example Files
30
+ runs-on: ubuntu-latest
31
+ strategy:
32
+ fail-fast: false
33
+ matrix:
34
+ example:
35
+ - examples/same-account
36
+ - examples/cross-account
37
+ defaults:
38
+ run:
39
+ working-directory: ${{ matrix.example }}
40
+
41
+ steps:
42
+ - name: Checkout
43
+ uses: actions/checkout@v4
44
45
+ - name: Setup Terraform
46
+ uses: hashicorp/setup-terraform@v3
47
+ with:
48
+ terraform_version: "1.6.0"
49
50
+ - name: Terraform Init
51
+ run: terraform init -input=false
52
53
+ - name: Terraform Validate
54
+ run: terraform validate
55
56
collectInputs:
57
name: Collect workflow inputs
58
needs: test
0 commit comments