Skip to content

Commit

Permalink
Update TF version for tests (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
grem11n authored Nov 4, 2024
1 parent 57494b5 commit fc13f57
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/terratest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
terraform: ['1.5.7', '1.7.3']
terraform: ['1.5.7', '1.9.8']
steps:
- uses: actions/checkout@master
- uses: hashicorp/setup-terraform@v1
Expand All @@ -46,7 +46,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
terraform: ['1.5.7', '1.7.3']
terraform: ['1.5.7', '1.9.8']
steps:
- name: Set up Go
uses: actions/setup-go@v2
Expand All @@ -63,7 +63,8 @@ jobs:
run: >
wget https://releases.hashicorp.com/terraform/${TF_VERSION}/terraform_${TF_VERSION}_linux_amd64.zip -O /tmp/terraform.zip &&
sudo unzip -d /tmp/ /tmp/terraform.zip &&
sudo mv /tmp/terraform /usr/local/bin/
sudo mv /tmp/terraform /usr/local/bin/ &&
go install github.com/kyoh86/richgo@latest
- name: Start Localstack
uses: LocalStack/[email protected]
Expand All @@ -76,5 +77,4 @@ jobs:
run: >
go mod init github.com/grem11n/terraform-aws-vpc-peering &&
go mod tidy &&
echo 'package main' > main.go &&
go test -v -timeout=30m ./...
richgo test -v -timeout=30m ./...

0 comments on commit fc13f57

Please sign in to comment.