Terraform or OpenTofu roots
llms.txtlists every page for an agent
Directories of .tf files with their own state.
Works
- init finds every root and writes the pipeline for your forge
- Each root runs its own pinned Terraform or OpenTofu version
- Roots that read each other through terraform_remote_state apply in waves, in order
Differs
Nothing beyond what the other pages describe.
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 OpenTofu
- The core workflow of write, plan and apply, with team CI left to other tools
- TACOS, the tools that run that workflow for a team
- State and plan encryption, set in your roots
OpenTofu leaves CI to other tools on purpose, and that is the part terragucci does. Encryption of state and plans is OpenTofu's own feature; terragucci adds none.
Added by terragucci
- Every wave waits at a 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
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
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.