This section is meant to be consulted reactively: something broke, you have an error message or a wrong-looking result, and you want the shortest path back to a working state. It is not a tutorial. Each page is a lookup table — find the symptom, read the cause, apply the fix.
If you're still learning the model rather than recovering from a problem, start with Core Concepts or the Quick Start instead.
Match the symptom. Use the index below to jump to the page whose symptoms look like yours.
Read the cause, not just the fix. Most of these errors recur because of a misconfiguration that the fix only patches. The cause column tells you what to change so it stops happening.
Turn on debug output. Almost every CLI problem gets clearer with verbose errors. Set TERRANTULA_DEBUG=1 before re-running any command — the CLI then prints the full error body (and stack traces for non-API errors) instead of the one-line summary.
Add --json when you need a machine-readable failure. Diagnostic commands like terrantula github diagnose --json emit a structured report you can grep or pipe.
Terrantula sits on top of your Terraform runner. It never runs terraform apply, never hosts your state, and the dashboard is a read-only projection. If something "didn't apply," the question is almost always which PR did it open (or fail to open) — see Action/PR debugging.
| If you see… | Go to |
|---|---|
Error 401 / no API token provided / Run terrantula login first | Common errors → Auth & config |
No project specified / No org specified | Common errors → Project & org resolution |
Error 422 / Error 404 from apply or an SDK call | Common errors → Apply failures |
| Dashboard won't start / port in use | Common errors → Dashboard |
warn: unmatched TF resource … / resources missing from the graph | Import/ingest issues → Unmatched resources |
Failed to parse TF state / Invalid mapping config | Import/ingest issues → Parse failures |
TFC state source … requires a token / S3 / aws CLI errors | Import/ingest issues → Remote state |
duplicate entity … | Import/ingest issues → Duplicates |
import-atmos found 0 stacks / nested-layout warning | Import/ingest issues → Atmos imports |
| Action fired but no PR appeared | Action/PR debugging → No PR opened |
ActionRun stuck in running after the PR merged | Action/PR debugging → Run stuck running |
| GitHub App "not configured" / installations missing | Action/PR debugging → github diagnose |
Entities show stale / missing drift status | Drift & state issues → Sync-stamp drift |
| Re-import doesn't update a drifted entity | Drift & state issues → Reconciliation policy |
| The graph disagrees with your Terraform state | Drift & state issues → Source of truth |