From 9dff1250f92da1fcfffe30439a96a8a2fcacea04 Mon Sep 17 00:00:00 2001 From: Alexey <34266885+v1km4n@users.noreply.github.com> Date: Tue, 24 Sep 2024 12:10:14 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D1=83=D1=87=D0=BD=D0=B0=D1=8F=20=D1=83?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BA=D0=B0=20Terraform=20?= =?UTF-8?q?(#15)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Alexey Orlov --- .github/workflows/modules.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/modules.yml b/.github/workflows/modules.yml index 45d0d8f..1cfe98a 100644 --- a/.github/workflows/modules.yml +++ b/.github/workflows/modules.yml @@ -10,6 +10,7 @@ jobs: name: 'Test Selectel Terraform modules' runs-on: self-hosted env: + terraform_link: https://releases.hashicorp.com/terraform/1.5.5/terraform_1.5.5_linux_amd64.zip TF_VAR_selectel_domain_name: ${{ secrets.SELECTEL_ID }} TF_VAR_selectel_user_admin_user: ${{ secrets.SERVICE_USER }} TF_VAR_selectel_user_admin_password: ${{ secrets.SERVICE_PASSWORD }} @@ -25,9 +26,13 @@ jobs: node-version: 20 - name: Setup Terraform - uses: hashicorp/setup-terraform@v3 - with: - terraform_version: "1.5.5" + shell: bash + run: | + curl -o terraform.zip $terraform_link + unzip terraform.zip + rm terraform.zip + chmod 755 terraform + mv terraform /usr/local/bin # - name: Run Checkov action # suppressed for now because it fails to copy a file inside a self-hosted runner # uses: bridgecrewio/checkov-action@v12