diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a463304..c7d8735 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v4 - name: Extract Terraform version from constraints in module run: echo TF_VERSION=$(grep "^[[:space:]]\+required_version = \"" providers.tf | cut -d= -f2- | tr -d ' "') >> $GITHUB_ENV - - uses: hashicorp/setup-terraform@v2 + - uses: hashicorp/setup-terraform@v3 with: terraform_version: ${{ env.TF_VERSION }} - run: terraform fmt -check -recursive