Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Terramate

$ terramate Official High Risk
Terramate · Cloud & Infra · MPL-2.0 · macos / linux / windows

terramate organizes large Terraform and OpenTofu repositories into isolated stacks with code generation, DAG ordering, and git-based --changed filtering. Agents can inspect affected stacks safely via terramate list --changed and --dry-run before executing terramate run.

FCRS-1.0 Score
85 /100
Good
Medium Confidence
Zero-Friction Install
brew install terramate
CLI vs MCP Decision CLI Only

Local git-aware IaC orchestrator and HCL code generator; executes local terraform/tofu binaries directly.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Strong --dry-run, --changed, and --log-fmt json flags for headless CI/agent pipelines, though terramate list itself emits line-oriented text rather than JSON.

  • Supports --dry-run, --changed, and --log-fmt=json
  • terramate list outputs plain-text paths rather than JSON
Trust & Safety 19 / 25

Because terramate run executes arbitrary commands across multiple stacks, blast radius is high; --dry-run and --disable-safeguards defaults help guard against dirty git trees.

  • Built-in git dirty-worktree safeguards and --dry-run preview
  • terramate run can fan out destructive IaC commands across stacks
Setup & Portability 15 / 15

Single static Go binary across macOS, Linux, and Windows via Homebrew, Go, and release binaries.

  • Cross-platform Go binary with zero runtime dependencies
Utility & Efficiency 14 / 15

--changed prevents agents from needlessly running plan across dozens of untouched stacks.

  • Git change detection and DAG ordering cut CI/agent execution scope
Maintenance & Lineage 9 / 10

Official terramate-io/terramate repository under MPL-2.0 with frequent releases.

  • Official vendor CLI under MPL-2.0
Docs & Verifiability 9 / 10

Well-structured docs at terramate.io/docs/cli/ detailing safeguards, codegen, and flags.

  • Comprehensive CLI documentation at terramate.io

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key OAuth Browser
Credential Storage

Local stack orchestration needs no auth; optional Terramate Cloud sync uses browser login (terramate cloud login) or TM_CLOUD_TOKEN / OIDC.

Side Effects
Read-Only Local Write Remote Write Destructive
Cost & Quotas

Core CLI is MPL-2.0 open-source and free; Terramate Cloud offers optional paid team tiers.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Terramate Agent Rules
- Always run `terramate list --changed` and `--dry-run` before executing `terramate run`.
- Restrict `terramate run` to read-only commands (`terraform plan`, `tflint`) unless apply is explicitly approved.
- Never run `terramate run -- terraform apply` without user confirmation.

Agent-Ready Command Recipes

Safe Read-Only Queries

List stacks impacted by git changes
terramate list --changed

Uses git diff to identify modified stacks without executing any Terraform commands.

Dry-run orchestration across changed stacks
terramate run --changed --dry-run -- terraform plan

Prints the exact execution order and commands for changed stacks without running them.

Controlled Writes & Previews

Generate HCL files from Terramate blocks
terramate generate

Synthesizes configured backend/provider HCL files across stacks locally.

Strengths for Agents

  • + Git-aware --changed filtering scopes orchestration strictly to modified stacks.
  • + --dry-run and built-in git clean-tree safeguards prevent accidental multi-stack runs.
  • + Supports --log-fmt json for structured runner logs.

Caveats & Pitfalls

  • ! terramate list outputs plain text instead of structured JSON.
  • ! Running terramate run without --dry-run can invoke arbitrary commands across many stacks at once.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI