From 467323fee851869afdc97ecfb421bc606b0c3187 Mon Sep 17 00:00:00 2001 From: sid palas Date: Thu, 27 May 2021 14:54:00 -0700 Subject: [PATCH] add db_pass secret --- .github/workflows/terraform.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 4e02b59..c82a58d 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -36,7 +36,7 @@ jobs: - name: Terraform Plan id: plan if: github.event_name == 'pull_request' - run: terraform plan -no-color + run: terraform plan -var db_pass=${{secrets.DB_PASS }} -no-color continue-on-error: true - uses: actions/github-script@0.9.0 @@ -72,4 +72,4 @@ jobs: - name: Terraform Apply if: github.ref == 'refs/heads/main' && github.event_name == 'push' - run: terraform apply -auto-approve \ No newline at end of file + run: terraform apply -var db_pass=${{secrets.DB_PASS }} -auto-approve \ No newline at end of file