From 994756ff7d3046310aa450d07721c707a86f9ed2 Mon Sep 17 00:00:00 2001 From: inhogog2 <75723069+inhogog2@users.noreply.github.com> Date: Wed, 18 Dec 2024 13:46:15 +0900 Subject: [PATCH] Update eks.yaml Add terraform setup. --- .github/workflows/eks.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/eks.yaml b/.github/workflows/eks.yaml index 6a49fbf9f..1fe286771 100644 --- a/.github/workflows/eks.yaml +++ b/.github/workflows/eks.yaml @@ -44,7 +44,15 @@ jobs: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ env.AWS_REGION }} - + + # Setup terraform commands + - name: Setup Terraform + uses: hashicorp/setup-terraform@v3 + + # Version check of the terraform + - name: Terraform version + run: terraform version + # Initialize a new or existing Terraform working directory by creating initial files, loading any remote state, downloading modules, etc. - name: Terraform Init run: terraform init