Tutorial: see markers work
Optional: hand this page to your coding agentThe steps work by hand too.Show the whole prompt
Follow https://intentius.io/choudoufu/docs/tutorial/ in a checkout of INTENTIUS/choudoufu. Check that `docker info` succeeds, run `just smoke roundtrip` for AWS or `just smoke k8s-greenfield` for Kubernetes, and report each verdict line. Never apply or destroy (`choudoufu apply`, `choudoufu destroy`, `tofu apply`), approve a saved plan, or merge; never edit or remove an owner tag by hand.This two-minute run builds a small estate on your machine, deletes the state, and plans again from the markers alone.
Before you start
Section titled “Before you start”Install Docker (started, so docker info succeeds), the aws CLI, Go and
just, then clone the repository:
git clone https://github.com/INTENTIUS/choudoufu.git
cd choudoufuFor Kubernetes, also install kind and kubectl.
On AWS
Section titled “On AWS”From the root of the clone:
just smoke roundtripThe output ends like this:
PASS: smoke scenario 'roundtrip' - every claim held (smoke v...)Stock OpenTofu stands up an untagged estate. live-import tags each
resource with tofu-estate and tofu-address. With terraform.tfstate
deleted, the plan comes back empty. Stock then takes the estate back from
one file and destroys it.
On Kubernetes
Section titled “On Kubernetes”just smoke k8s-greenfieldThis applies four objects to a kind cluster and deletes the cache. The replan
finds them by the tofu-estate label and comes back empty.
What just happened
Section titled “What just happened”The run wrote a marker on each taggable resource, so the state file is now a cache.
In your own estate, an estate.chdf.hcl file turns that on.