Skip to content

Commit

Permalink
update and file removal
Browse files Browse the repository at this point in the history
  • Loading branch information
bethbeza committed Jan 21, 2025
1 parent 5d81c83 commit ec92b67
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deploy_terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,24 +54,24 @@ jobs:
sp-creds: ${{ env.AZURE_CREDENTIALS }}
tf-auth: true
- name: Collect Terraform stats

uses: josiahsiegel/terraform-stats@68b8cbe42c494333fbf6f8d90ac86da1fb69dcc2
## DevSecOps - Aquia (Replace) - uses: ./.github/actions/terraform-stats

id: stats1
with:
terraform-directory: operations/app/terraform/vars/${{ needs.pre_job.outputs.env_name }}
terraform-version: 1.7.4
add-args: "-refresh=false"
-name: Run Terraform Plan
run: |
terraform init -input=false
terraform validate
terraform fmt -recursive
terraform plan -out=tf.plan
- name: Run Terraform Apply
run: |
terraform apply -input=false -no-color -lock-timeout=600s -auto-approve tf.plan

- name: Run Terraform Plan
run: |
terraform init -input=false
terraform validate
terraform fmt -recursive
terraform plan -out=tf.plan
- name: Run Terraform Apply
if: success() # This ensures apply only runs if plan was successful
run: |
terraform apply -input=false -no-color -lock-timeout=600s -auto-approve tf.plan
approve_deploy:
name: Approve Deploy - ${{ needs.pre_job.outputs.env_name }}
Expand Down

0 comments on commit ec92b67

Please sign in to comment.