CLI Reference

The Terrantula CLI (terrantula) is the primary interface for importing Terraform and Atmos state, running the local dashboard, and managing your project configuration.

Global Options

These options apply to all commands:

FlagDescription
--base-url <url>API base URL (overrides config)
--token <token>API token (overrides config)
--org <id>Org ID (slug) for org/project-scoped commands (overrides config)
--project <id>Project ID for project-scoped commands (overrides config)
--env <name>Environment name for env-scoped commands (overrides config; defaults to "default")
--jsonOutput raw JSON (default: pretty JSON)

Commands

CommandDescription
loginSave API credentials to local config (token comes from --token or TERRANTULA_TOKEN)
useSet the default project for project-scoped commands
importImport data from external sources
import-atmosImport Atmos stack manifests into Terrantula as entities
dashboardOpen the local Terrantula dashboard in your browser
exportDump the project catalog (schema + entities + relationships) as apply-shaped YAML
orgsManage orgs
projectsManage projects
githubManage github
environmentsManage environments
entity-typesManage entity-types
entitiesManage entities
cellsManage cells
relationship-typesManage relationship-types
relationshipsManage relationships
actionsManage actions
action-runsManage action-runs
secretsManage secrets
applyApply schema + data declarations against the project (terraform-style)
catalog-revisionsManage catalog-revisions
audit-eventsManage audit-events
drift-eventsManage drift-events
statsManage stats
graph-viewsManage graph-views
notificationsManage notifications
audit-exportManage audit-export
import-sourcesManage import-sources
export-catalogExport every catalog kind as a single apply-shaped payload
adminManage admin
projectProject-level commands