Skip to content

Commit 4380159

Browse files
committed
adding cd into terraform folder
1 parent ab1564d commit 4380159

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/pipeline.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,13 @@ jobs:
4141
uses: hashicorp/setup-terraform@v3
4242

4343
- name: Terraform Init
44-
run: terraform init
44+
run: |
45+
cd terraform/dev/
46+
terraform init
4547
4648
- name: Terraform Plan
4749
id: plan
48-
run: terraform plan -no-color
50+
run: |
51+
cd terraform/dev/
52+
terraform plan -no-color
4953
continue-on-error: true
50-
51-

0 commit comments

Comments
 (0)