From a98fd10ffd9c6f71069dbdabed87dcdb96be9068 Mon Sep 17 00:00:00 2001 From: Lucas Rodriguez Date: Sat, 21 Dec 2024 01:39:48 -0600 Subject: [PATCH] install terraform in deploy workflow (#75) Terraform is no longer installed in `ubuntu-latest` github actions runner by default, so installing the binary using the `hashicorp/setup-terraform` action. https://github.com/actions/runner-images/issues/10636 > Removed from the Ubuntu 24.04 image due to maintenance reasons. https://github.com/actions/runner-images/issues/10796#issuecomment-2422180546 https://github.com/hashicorp/setup-terraform --- .github/workflows/deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fa651c0..63f7d4c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -35,6 +35,11 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} + - name: Install terraform + uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 + with: + terraform_wrapper: false + - name: Deploy env: IMAGE_VERSION: ${{ github.ref_name }}