Skip to content

Commit e2190dd

Browse files
Update terraform.yaml
1 parent e313b32 commit e2190dd

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

‎.github/workflows/terraform.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
defaults:
1414
run:
1515
shell: bash
16-
working-directory: ./azure
1716
permissions:
1817
pull-requests: write
1918
steps:
@@ -27,18 +26,18 @@ jobs:
2726

2827
- name: Terraform Format
2928
id: fmt
30-
run: terraform fmt
29+
run: cd azure && terraform fmt
3130

3231
- name: Terraform init
3332
id: init
34-
run: terraform init
33+
run: cd azure && terraform init
3534

3635
- name: Terraform validate
3736
id: validate
38-
run: terraform validate
37+
run: cd azure && terraform validate
3938

4039
- name: plan
41-
run: terraform plan
40+
run: cd azure && terraform plan
4241
continue-on-error: true
4342

4443
- name: Terraform Plan Status
@@ -47,4 +46,4 @@ jobs:
4746

4847
- name: Terraform Apply
4948
if: github.ref == 'refs/heads/main' && github.event_name == 'push' && steps.plan.outcome == 'success'
50-
run: terraform apply -auto-approve -input=false
49+
run: cd azure && terraform apply -auto-approve -input=false

0 commit comments

Comments
 (0)