From 1da770e17fd2b112968be765341353977643f5b2 Mon Sep 17 00:00:00 2001 From: Piasecki-grid Date: Mon, 31 Mar 2025 12:37:31 +0200 Subject: [PATCH] Final infra setup pipeline --- .github/workflows/setup-infra-pipeline.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/setup-infra-pipeline.yml b/.github/workflows/setup-infra-pipeline.yml index 3506366f1..402f61ef0 100644 --- a/.github/workflows/setup-infra-pipeline.yml +++ b/.github/workflows/setup-infra-pipeline.yml @@ -53,7 +53,7 @@ jobs: run: | cd cicd/grid-capstone-terraform-infra terraform init - ls -al + - name: Terraform Validate run: | @@ -61,6 +61,14 @@ jobs: terraform validate terraform fmt + - name: Refactor changes push + run: | + cd cicd/grid-capstone-terraform-infra + git add . + git commit -am 'Refactored syntax and structure in .tf files' + git push + + - name: Terraform Apply run: | cd cicd/grid-capstone-terraform-infra