File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -21,24 +21,20 @@ jobs:
21
21
with :
22
22
cli_config_credentials_token : ${{ secrets.TF_API_TOKEN }}
23
23
24
- - name : Select Azure
25
- id : SA
26
- run : ls
27
-
28
24
- name : Terraform Format
29
25
id : fmt
30
- run : terraform fmt
26
+ run : cd azure && terraform fmt
31
27
32
28
- name : Terraform init
33
29
id : init
34
- run : terraform init
30
+ run : cd azure && terraform init
35
31
36
32
- name : Terraform validate
37
33
id : validate
38
- run : terraform validate
34
+ run : cd azure && terraform validate
39
35
40
36
- name : plan
41
- run : terraform plan
37
+ run : cd azure && terraform plan
42
38
continue-on-error : true
43
39
44
40
- name : Terraform Plan Status
47
43
48
44
- name : Terraform Apply
49
45
if : steps.plan.outcome == 'success'
50
- run : terraform apply -auto-approve -input=false
46
+ run : cd azure && terraform apply -auto-approve -input=false
You can’t perform that action at this time.
0 commit comments