From a27fa3cc66a1e1d499c924fbd29b921078559268 Mon Sep 17 00:00:00 2001 From: ThomasCardin Date: Thu, 4 Jul 2024 11:04:39 -0400 Subject: [PATCH] working-directory --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ebecc0c..ce35755 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,20 +31,25 @@ jobs: - name: Terraform Format id: fmt run: terraform fmt + working-directory: terraform continue-on-error: false - name: Terraform Init id: init + working-directory: terraform run: terraform init - name: Terraform Validate id: validate + working-directory: terraform run: terraform validate -no-color - name: Terraform Plan id: plan + working-directory: terraform run: terraform plan -no-color continue-on-error: false - name: Terraform Apply + working-directory: terraform run: terraform apply -auto-approve -input=false \ No newline at end of file