diff --git a/.gitea/workflows/deploy-infrastructure.yml b/.gitea/workflows/deploy-infrastructure.yml index 75d1792..c2a3d2a 100644 --- a/.gitea/workflows/deploy-infrastructure.yml +++ b/.gitea/workflows/deploy-infrastructure.yml @@ -29,8 +29,8 @@ jobs: env: # Proxmox Auth (Endpoint from inputs) PROXMOX_VE_ENDPOINT: ${{ inputs.proxmox_endpoint }} - PROXMOX_VE_INSECURE: "true" - + PROXMOX_VE_INSECURE: "true" + # Gitea Remote State Backend (Dynamic per-repository package/workspace) TF_HTTP_ADDRESS: "https://git.itlab-ffeks.dnu.edu.ua/api/packages/${{ gitea.repository_owner }}/terraform/state/${{ gitea.event.repository.name }}-${{ gitea.ref_name }}" TF_HTTP_LOCK_ADDRESS: "https://git.itlab-ffeks.dnu.edu.ua/api/packages/${{ gitea.repository_owner }}/terraform/state/${{ gitea.event.repository.name }}-${{ gitea.ref_name }}/lock" @@ -125,7 +125,7 @@ jobs: - name: Configure Git for private modules run: git config --global url."https://oauth2:$INFRASTRUCTURE_TOKEN@git.itlab-ffeks.dnu.edu.ua".insteadOf "https://git.itlab-ffeks.dnu.edu.ua" - + - name: Setup OpenTofu uses: opentofu/setup-opentofu@v1 @@ -137,7 +137,7 @@ jobs: # For debugging. - name: OpenTofu Plan - run: tofu plan + run: TF_LOG=DEBUG SOCKETIO_LOG_LEVEL=DEBUG tofu plan - name: OpenTofu Apply - run: tofu apply -auto-approve \ No newline at end of file + run: tofu apply -auto-approve