From c22958023445443b5ec58aa9b19734179fb24285 Mon Sep 17 00:00:00 2001 From: Piasecki-grid Date: Mon, 31 Mar 2025 12:32:10 +0200 Subject: [PATCH] Final changes --- .github/workflows/setup-infra-pipeline.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/setup-infra-pipeline.yml b/.github/workflows/setup-infra-pipeline.yml index 19ef44610..3506366f1 100644 --- a/.github/workflows/setup-infra-pipeline.yml +++ b/.github/workflows/setup-infra-pipeline.yml @@ -54,13 +54,12 @@ jobs: cd cicd/grid-capstone-terraform-infra terraform init ls -al - - - name: Save terraform lock file in the repo. + + - name: Terraform Validate run: | cd cicd/grid-capstone-terraform-infra - git commit -m "There was a change in infra .tf files" - git push - continue-on-error: true + terraform validate + terraform fmt - name: Terraform Apply run: |