From 39c29f2ac280eb374715e5a90d3094b64f215188 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Mon, 31 Mar 2025 14:35:53 +0000 Subject: [PATCH] need to do seperate work to get terraform init working in pipeline --- .github/workflows/teraform.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/teraform.yml b/.github/workflows/teraform.yml index f573ba4..2ba7217 100644 --- a/.github/workflows/teraform.yml +++ b/.github/workflows/teraform.yml @@ -36,22 +36,22 @@ jobs: if: env.AWS_ACCESS_KEY_ID != '' run: | echo "Setting up AWS Credentials..." - aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID - aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY - aws configure set region $AWS_REGION + # aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID + # aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY + # aws configure set region $AWS_REGION - - name: Setup Terraform - uses: hashicorp/setup-terraform@v3 + # - name: Setup Terraform + # uses: hashicorp/setup-terraform@v3 - - name: Terraform Init - run: terraform init + # - name: Terraform Init + # run: terraform init - - name: Terraform Format Check - run: terraform fmt -check + # - name: Terraform Format Check + # run: terraform fmt -check - - name: Terraform Plan - run: terraform plan -out=tfplan + # - name: Terraform Plan + # run: terraform plan -out=tfplan - - name: Terraform Apply (Main Branch Only) - if: github.ref == 'refs/heads/main' - run: terraform apply -auto-approve tfplan \ No newline at end of file + # - name: Terraform Apply (Main Branch Only) + # if: github.ref == 'refs/heads/main' + # run: terraform apply -auto-approve tfplan \ No newline at end of file