Skip to content

Commit

Permalink
Update terraform.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sumanmanna134 authored Sep 20, 2024
1 parent dcc2bc7 commit a0f3adc
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,20 @@ jobs:
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}

- name: Select Azure
id: SA
run: ls

- name: Terraform Format
id: fmt
run: terraform fmt
run: cd azure && terraform fmt

- name: Terraform init
id: init
run: terraform init
run: cd azure && terraform init

- name: Terraform validate
id: validate
run: terraform validate
run: cd azure && terraform validate

- name: plan
run: terraform plan
run: cd azure && terraform plan
continue-on-error: true

- name: Terraform Plan Status
Expand All @@ -47,4 +43,4 @@ jobs:

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

0 comments on commit a0f3adc

Please sign in to comment.