diff --git a/.forgejo/workflows/terraform-plan.yml b/.forgejo/workflows/terraform-plan.yml index d7450fc..54c2a32 100644 --- a/.forgejo/workflows/terraform-plan.yml +++ b/.forgejo/workflows/terraform-plan.yml @@ -26,16 +26,20 @@ jobs: uses: opentofu/setup-opentofu@v1 - name: Tofu Format Check - run: tofu fmt -check -recursive + working-directory: pve01.wheatley.in/k8s-wheatley + run: tofu fmt -check - name: Tofu Init + working-directory: pve01.wheatley.in/k8s-wheatley run: tofu init -backend=false - name: Tofu Validate + working-directory: pve01.wheatley.in/k8s-wheatley run: tofu validate - name: Tofu Plan env: TF_VAR_proxmox_endpoint: ${{ secrets.PROXMOX_ENDPOINT }} TF_VAR_proxmox_api_token: ${{ secrets.PROXMOX_API_TOKEN }} + working-directory: pve01.wheatley.in/k8s-wheatley run: tofu plan -out=tfplan