Skip to content

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

Get your first plan note

Already in OpenTofu

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

Then read

Tasks
Add terragucci to a repoChoose your binaryApprove a waiting wave
Background
ArchitectureWaves and approvals
Details
terragucci.yml keysStages

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.