File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 13
13
defaults :
14
14
run :
15
15
shell : bash
16
- working-directory : ./azure
17
16
permissions :
18
17
pull-requests : write
19
18
steps :
@@ -27,18 +26,18 @@ jobs:
27
26
28
27
- name : Terraform Format
29
28
id : fmt
30
- run : terraform fmt
29
+ run : cd azure && terraform fmt
31
30
32
31
- name : Terraform init
33
32
id : init
34
- run : terraform init
33
+ run : cd azure && terraform init
35
34
36
35
- name : Terraform validate
37
36
id : validate
38
- run : terraform validate
37
+ run : cd azure && terraform validate
39
38
40
39
- name : plan
41
- run : terraform plan
40
+ run : cd azure && terraform plan
42
41
continue-on-error : true
43
42
44
43
- name : Terraform Plan Status
47
46
48
47
- name : Terraform Apply
49
48
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
You can’t perform that action at this time.
0 commit comments