From 4cafe550c7f31cb5b2e01cd93d8ba3b8f4033bd7 Mon Sep 17 00:00:00 2001 From: Jaemin Choi <1dotolee@gmail.com> Date: Wed, 6 Mar 2024 16:51:26 +0900 Subject: [PATCH] fix(infra): update terraform dir in cd-prod (#1544) --- .github/workflows/cd-prod.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd-prod.yml b/.github/workflows/cd-prod.yml index 6c22706201..86b0cff8ef 100644 --- a/.github/workflows/cd-prod.yml +++ b/.github/workflows/cd-prod.yml @@ -110,7 +110,7 @@ jobs: terraform_version: 1.5.2 - name: Create Terraform variable file - working-directory: ./infra/deploy + working-directory: ./apps/infra/deploy run: | echo "$TFVARS" >> terraform.tfvars echo "$OAUTH_GITHUB" >> terraform.tfvars @@ -121,14 +121,14 @@ jobs: OAUTH_KAKAO: ${{ secrets.OAUTH_KAKAO }} - name: Terraform Init - working-directory: ./infra/deploy + working-directory: ./apps/infra/deploy run: terraform init # TODO: plan in the other job, and reuse the plan file - name: Terraform Plan - working-directory: ./infra/deploy + working-directory: ./apps/infra/deploy run: terraform plan -target=module.codedang-infra -input=false - name: Terraform Apply - working-directory: ./infra/deploy + working-directory: ./apps/infra/deploy run: terraform apply -target=module.codedang-infra -auto-approve -input=false