Skip to content

Commit

Permalink
Try different Terraform versions
Browse files Browse the repository at this point in the history
  • Loading branch information
WillGibson committed Oct 24, 2024
1 parent f67714f commit f65de0c
Show file tree
Hide file tree
Showing 3 changed files with 225 additions and 220 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/terraform-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ on:

jobs:
terraform-unit-tests:
name: ${{ matrix.module }}-unit-tests
name: tf-${{ matrix.terraform-version }}-${{ matrix.module }}-unit-tests
runs-on: ubuntu-latest
strategy:
matrix:
terraform-version:
- 1.8
- 1.9
module:
- application-load-balancer
- cdn
Expand All @@ -31,6 +34,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ matrix.terraform-version }}
- run: |
cd ${{ matrix.module }}
terraform init
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
terraform 1.9.6
terraform 1.7.5
python 3.12.2
Loading

0 comments on commit f65de0c

Please sign in to comment.