Skip to content

Commit

Permalink
manually install terraform in ubuntu-latest
Browse files Browse the repository at this point in the history
ubuntu-latest is now Ubuntu 24.04 and terraform CLI is not
installed anymore.
See https://github.com/actions/runner-images/blob/ubuntu24/20250105.1/images/ubuntu/Ubuntu2404-Readme.md

The manual step requires manual updates to Terraform version
but avoids similar scenarios in the future
  • Loading branch information
endorama committed Jan 9, 2025
1 parent 34530df commit 28e468c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ permissions:
id-token: write

env:
TF_VAR_BRANCH: ${{ github.ref_name }}
TF_VAR_BUILD_ID: ${{ github.run_id }}
TF_VAR_ENVIRONMENT: 'ci'
TF_VAR_REPO: ${{ github.repository }}
TF_VAR_BRANCH: ${{ github.ref_name }}
TF_VAR_BUILD_ID: ${{ github.run_id }}
TF_VAR_ENVIRONMENT: 'ci'
TF_VAR_REPO: ${{ github.repository }}
TERRAFORM_VERSION: 1.10.2

jobs:
run:
Expand All @@ -28,6 +29,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
with:
terraform_version: "${{ env.TERRAFORM_VERSION }}"

- uses: actions/setup-go@v5
with:
go-version-file: 'functionaltests/go.mod'
Expand Down

0 comments on commit 28e468c

Please sign in to comment.