diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 413906c..87e8183 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -61,6 +61,18 @@ jobs: tofu_version: "1.12.6" tofu_wrapper: false + - name: Verify jq installation + shell: bash + run: | + set -euo pipefail + + if ! command -v jq >/dev/null 2>&1; then + echo "::error::jq is not installed on the runner." + exit 1 + fi + + jq --version + # Verify OpenTofu, credentials, and TEST stack configurations. - name: Preflight checks shell: bash @@ -364,6 +376,18 @@ jobs: tofu_version: "1.12.6" tofu_wrapper: false + - name: Verify jq installation + shell: bash + run: | + set -euo pipefail + + if ! command -v jq >/dev/null 2>&1; then + echo "::error::jq is not installed on the runner." + exit 1 + fi + + jq --version + - name: Preflight checks shell: bash run: |