From b91dc119d64a30612f303ed7a156f96895a89346 Mon Sep 17 00:00:00 2001 From: Sunny Date: Tue, 10 Dec 2024 14:57:24 +0000 Subject: [PATCH] workflows: Use setup-terraform install latest The runner image ubuntu-latest is still on terraform v1.10.0, which has a bug in terraform apply. Use setup-terraform to install the latest version which has a fix for it. Signed-off-by: Sunny --- .github/workflows/integration-aws.yaml | 2 ++ .github/workflows/integration-azure.yaml | 2 ++ .github/workflows/integration-gcp.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/integration-aws.yaml b/.github/workflows/integration-aws.yaml index c1a21392..21bdedf8 100644 --- a/.github/workflows/integration-aws.yaml +++ b/.github/workflows/integration-aws.yaml @@ -26,6 +26,8 @@ jobs: with: go-version: 1.23.x cache-dependency-path: oci/tests/integration/go.sum + - name: Setup Terraform + uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 - name: configure aws credentials uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 with: diff --git a/.github/workflows/integration-azure.yaml b/.github/workflows/integration-azure.yaml index 512e5752..c89895c2 100644 --- a/.github/workflows/integration-azure.yaml +++ b/.github/workflows/integration-azure.yaml @@ -29,6 +29,8 @@ jobs: with: go-version: 1.23.x cache-dependency-path: oci/tests/integration/go.sum + - name: Setup Terraform + uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 - name: Authenticate to Azure uses: Azure/login@a65d910e8af852a8061c627c456678983e180302 # v1.4.6 with: diff --git a/.github/workflows/integration-gcp.yaml b/.github/workflows/integration-gcp.yaml index 9f9fb4f2..867f067d 100644 --- a/.github/workflows/integration-gcp.yaml +++ b/.github/workflows/integration-gcp.yaml @@ -29,6 +29,8 @@ jobs: with: go-version: 1.23.x cache-dependency-path: oci/tests/integration/go.sum + - name: Setup Terraform + uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 - name: Authenticate to Google Cloud uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 id: 'auth'