Skip to content

Commit

Permalink
chore: update terraform working directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
LetItRock committed Nov 28, 2023
1 parent 8123a64 commit 5605072
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dev-deploy-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ jobs:

- name: Terraform Init
if: ${{ contains (matrix.name,'-ee') }}
working-directory: cloud-infra/terraform/novu
working-directory: cloud-infra/terraform/novu/aws
run: terraform init

- name: Terraform get output
if: ${{ contains (matrix.name,'-ee') }}
working-directory: cloud-infra/terraform/novu
working-directory: cloud-infra/terraform/novu/aws
id: terraform
run: |
echo "api_ecs_container_name=$(terraform output -json api_ecs_container_name | jq -r .)" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dev-deploy-inbound-mail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ jobs:
terraform_wrapper: false

- name: Terraform Init
working-directory: cloud-infra/terraform/novu
working-directory: cloud-infra/terraform/novu/aws
run: terraform init

- name: Terraform get output
working-directory: cloud-infra/terraform/novu
working-directory: cloud-infra/terraform/novu/aws
id: terraform
run: |
echo "inbound_mail_ecs_container_name=$(terraform output -json inbound_mail_ecs_container_name | jq -r .)" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dev-deploy-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ jobs:
terraform_wrapper: false

- name: Terraform Init
working-directory: cloud-infra/terraform/novu
working-directory: cloud-infra/terraform/novu/aws
run: terraform init

- name: Terraform get output
working-directory: cloud-infra/terraform/novu
working-directory: cloud-infra/terraform/novu/aws
id: terraform
run: |
echo "webhook_ecs_container_name=$(terraform output -json webhook_ecs_container_name | jq -r .)" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dev-deploy-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ jobs:

- name: Terraform Init
if: ${{ contains (matrix.name,'-ee') }}
working-directory: cloud-infra/terraform/novu
working-directory: cloud-infra/terraform/novu/aws
run: terraform init

- name: Terraform get output
working-directory: cloud-infra/terraform/novu
working-directory: cloud-infra/terraform/novu/aws
if: ${{ contains (matrix.name,'-ee') }}
id: terraform
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dev-deploy-ws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ jobs:
terraform_version: 1.5.5
terraform_wrapper: false
- name: Terraform Init
working-directory: cloud-infra/terraform/novu
working-directory: cloud-infra/terraform/novu/aws
run: terraform init

- name: Terraform get output
working-directory: cloud-infra/terraform/novu
working-directory: cloud-infra/terraform/novu/aws
id: terraform
run: |
echo "ws_ecs_container_name=$(terraform output -json ws_ecs_container_name | jq -r .)" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-app-service-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ jobs:
terraform_wrapper: false

- name: Terraform Init
working-directory: cloud-infra/terraform/novu
working-directory: cloud-infra/terraform/novu/aws
run: terraform init

- name: Terraform get output
working-directory: cloud-infra/terraform/novu
working-directory: cloud-infra/terraform/novu/aws
id: terraform
env:
SERVICE_NAME: ${{ inputs.service_name }}
Expand Down

0 comments on commit 5605072

Please sign in to comment.