Skip to content

Commit 5ab6ead

Browse files
committed
cd: debug
1 parent 9715390 commit 5ab6ead

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/terraform.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Terraform Plan for Dev
5252
if: github.ref == 'refs/heads/develop' && github.event_name == 'push'
5353
id: terraform-plan-dev
54-
run: terraform plan -var-file="./envs/dev/terraform.tfvars" -out=dev.plan
54+
run: cd infra && terraform plan -var-file="./envs/dev/terraform.tfvars" -out=dev.plan
5555

5656
- name: Terraform Apply for Dev
5757
id: terraform-apply-dev
@@ -67,7 +67,7 @@ jobs:
6767
6868
- name: Terraform Plan for Prod
6969
id: terraform-plan-prod
70-
run: terraform plan -var-file="./envs/prod/terraform.tfvars" -out=prod.plan
70+
run: cd infra && terraform plan -var-file="./envs/prod/terraform.tfvars" -out=prod.plan
7171

7272
- name: Terraform Apply for Prod
7373
id: terraform-apply-prod

0 commit comments

Comments
 (0)