Skip to content

Terramate

llms.txtlists every page for an agent

A Terramate repo, where each stack is one root.

Works

  • Stacks apply in waves ordered by their after and before
  • Only the stacks a change reaches, and those ordered after them, are planned
  • Stale generated code fails the check

Differs

  • Terramate Cloud and Terramate scripts are not read, and neither are watch files or wants and wanted_by.
  • A drift pull request, rollouts and generate are refused, since their edits would land in code terramate generate owns.
On Terraform, choudoufu, GitLab

On Terraform

  • Two overlapping pushes to one root can fail the newer apply with "Saved plan is stale"; run it again and it plans again.

On choudoufu

  • terragucci does not read a root's required_version as a choudoufu release.

On GitLab

  • Comment commands answer on a schedule, since a merge request note starts no pipeline.
  • Roots lock on /terragucci apply or /terragucci lock, not at the first plan.
  • The agent comment and drift fixes are GitHub and Forgejo only.

First step

Use Terramate

Already in Terramate

If ordered runs of the changed stacks and Terramate's own workflows already fit your team, you may not need terragucci's waves.

Added by terragucci

  • Each layer waits at its own gate for an approval of its plan digest by someone who had no hand in the change
  • A wave whose plans moved since the approval applies nothing
  • A stack that reads an input is never planned on its mock; it waits for the upstream's state
  • Pipelines for Forgejo as well as GitHub and GitLab

You can count on

Then read

Tasks
Use Terramate
Background
Waves and approvals
Details
terragucci.yml keys

terragucciHelp setting it up: Intentius

These docs count page views and clicks with PostHog. They set no cookies, store nothing in your browser, and send nothing when your browser asks not to be tracked.