Skip to content

choudoufu

llms.txtlists every page for an agent
The choudoufu cube, a pixel-art block of dark fried tofu

choudoufu

Per-resource locking for OpenTofu.

choudoufu is a build of OpenTofu. `choudoufu live-check` tells you offline whether your configuration runs as it is. In place of one lock on the whole state, it keeps one record per resource and writes an ownership marker on each cloud object, so two applies of saved plans that change different resources run at the same time. The state file becomes a copy you can rebuild.

The engine terragucci can run, with binary: choudoufu. It uses chant's ownership markers, and chant can run it.

First command

Needs: The GitHub CLI, signed in.

os=$(uname -s | tr '[:upper:]' '[:lower:]')
arch=$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/')
gh release download -R INTENTIUS/choudoufu --pattern "*_${os}_${arch}.tar.gz"
tar xzf choudoufu_*_"${os}"_"${arch}".tar.gz

The full steps

You run today
Runs on

Differs

  • The live backend, in estate.chdf.hcl, takes the place of the backend block.
  • Run live-import before the first apply, so every resource carries its marker.

choudoufu