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
Already in Terramate
- terramate run in order: parents first, then after and before
- Change detection from git with --changed
- Preview, deployment and drift check workflows for GitHub, GitLab and Bitbucket
- Terramate Cloud: deployment history and alerts
- Terramate Cloud: scheduled drift checks, alerts and reconciliation
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
- A plan note on every pull request
- Gated applies of the plans you approved
- No overlapping or stale applies
- Re-plan from a comment
- Scheduled drift checks
- OIDC roles, one to plan, one to apply
- Policy on every plan
- An audit trail in your bucket
- Secrets kept out of notes and logs
- Your state backend, as is
- Your own runners
- Your forge's sign-in and permissions
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.