Skip to content

Commit

Permalink
Fix a reference to an undefined output in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Oct 13, 2024
1 parent 6439a64 commit bb4a99d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:

workflow_dispatch:

env:
TERRAFORM_VERSION: "1.9.7"

jobs:
# ensure the code builds...
build:
Expand Down Expand Up @@ -159,7 +162,8 @@ jobs:

- uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.9.7"
terraform_version: ${{ env.TERRAFORM_VERSION }}
terraform_wrapper: false

- name: Run tests for ${{ matrix.demo-folder }}
run: |
Expand Down Expand Up @@ -268,7 +272,8 @@ jobs:

- uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.9.7"
terraform_version: ${{ env.TERRAFORM_VERSION }}
terraform_wrapper: false

- name: Run tests for ${{ matrix.demo-folder }}
run: |
Expand Down Expand Up @@ -309,7 +314,7 @@ jobs:
- name: Install Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ steps.config.outputs.terraform-version }}
terraform_version: ${{ env.TERRAFORM_VERSION }}
terraform_wrapper: false

- name: Lint examples/${{ matrix.demo-folder }}/components/terraform
Expand Down

0 comments on commit bb4a99d

Please sign in to comment.