From 0509a2d1f91ba96c0fd31dc5a865b1698237aa91 Mon Sep 17 00:00:00 2001 From: Tyson Miller <56799434+Tyson-miller@users.noreply.github.com> Date: Sun, 12 Nov 2023 17:36:11 -0800 Subject: [PATCH] add terraform plan action --- .github/workflows/terraform-plan.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/terraform-plan.yml diff --git a/.github/workflows/terraform-plan.yml b/.github/workflows/terraform-plan.yml new file mode 100644 index 0000000..73b3511 --- /dev/null +++ b/.github/workflows/terraform-plan.yml @@ -0,0 +1,22 @@ +name: PR Terraform Plan + +on: [pull_request] + +permissions: + contents: read + pull-requests: write + +jobs: + plan: + runs-on: ubuntu-latest + name: Create terraform plan + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: terraform plan + uses: dflook/terraform-plan@v1 + with: + path: terraform-incubator/vrms-client/dev \ No newline at end of file