Skip to content

Commit a0f3adc

Browse files
Update terraform.yaml
1 parent dcc2bc7 commit a0f3adc

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

‎.github/workflows/terraform.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,20 @@ jobs:
2121
with:
2222
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
2323

24-
- name: Select Azure
25-
id: SA
26-
run: ls
27-
2824
- name: Terraform Format
2925
id: fmt
30-
run: terraform fmt
26+
run: cd azure && terraform fmt
3127

3228
- name: Terraform init
3329
id: init
34-
run: terraform init
30+
run: cd azure && terraform init
3531

3632
- name: Terraform validate
3733
id: validate
38-
run: terraform validate
34+
run: cd azure && terraform validate
3935

4036
- name: plan
41-
run: terraform plan
37+
run: cd azure && terraform plan
4238
continue-on-error: true
4339

4440
- name: Terraform Plan Status
@@ -47,4 +43,4 @@ jobs:
4743

4844
- name: Terraform Apply
4945
if: steps.plan.outcome == 'success'
50-
run: terraform apply -auto-approve -input=false
46+
run: cd azure && terraform apply -auto-approve -input=false

0 commit comments

Comments
 (0)