diff --git a/.github/workflows/terraform-test.yml b/.github/workflows/terraform-test.yml index f42618b..cd3b498 100644 --- a/.github/workflows/terraform-test.yml +++ b/.github/workflows/terraform-test.yml @@ -85,7 +85,7 @@ jobs: error_message="" if [[ "$status" == "fail" ]]; then status_emoji="x" - error_message=$(echo "$tftest_results" | jq -r '. | select(."@level"=="error") | .diagnostic.detail') + error_message=$(echo "$tftest_results" | jq -r '. | select(."@level"=="error") | .diagnostic.detail | tostring') fi table_rows+=("| \`$path\` | \`$run\` | :$status_emoji:**\`$status\`** | $error_message |")