From ddaddb82d9e634ed226b3b77709f1c3537548b8a Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Tue, 3 Feb 2026 08:15:49 +0000 Subject: [PATCH] add working directory again --- .github/workflows/deploy_terraform.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy_terraform.yml b/.github/workflows/deploy_terraform.yml index 899ab0e3..23cc4d71 100644 --- a/.github/workflows/deploy_terraform.yml +++ b/.github/workflows/deploy_terraform.yml @@ -23,25 +23,19 @@ jobs: uses: hashicorp/setup-terraform@v3 - name: Terraform Init - working-directory: ./infrastructure/terraform + working-directory: ./infrastructure/terraform/shared/ shell: bash - run: | - cd shared - terraform init -reconfigure + run: terraform init -reconfigure - name: Terraform Workspace - working-directory: ./infrastructure/terraform + working-directory: ./infrastructure/terraform/shared/ shell: bash - run: | - cd shared - terraform workspace select dev || terraform workspace new dev + run: terraform workspace select dev || terraform workspace new dev - name: Terraform Plan (shared) - working-directory: ./infrastructure/terraform + working-directory: ./infrastructure/terraform/shared/ shell: bash - run: | - cd shared - terraform plan -var-file=dev.tfvars -out=tfplan + run: terraform plan -var-file=dev.tfvars -out=tfplan # - name: Terraform Apply # working-directory: ./infrastructure/terraform/shared