Day-2 operations
llms.txtlists every page for an agent
Optional: hand this page to your coding agentThe steps work by hand too.Show the whole prompt
Read https://intentius.io/choudoufu/docs/use/day2/ and propose, as a diff, a marker-filtered data source for each `terraform_remote_state` here. 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.See also Rename a resource and Remove a resource.
Sharing values between estates
Section titled “Sharing values between estates”Read the producer’s live resource with a data source. On AWS, filter by its tags:
data "aws_vpc" "network" {
filter {
name = "tag:tofu-estate"
values = ["network"]
}
filter {
name = "tag:tofu-address"
values = ["aws_vpc.main"]
}
}On Kubernetes, a stock data source reads the object by namespace and name.
For a value no resource holds, data "terraform_estate_outputs" returns the
producer’s outputs as of its last apply
(live/OUTPUTS.md).
Plan, review, apply
Section titled “Plan, review, apply”apply FILE plans again and applies when every written value matches the saved
plan. Otherwise it prints The approved plan no longer matches the live system
and exits 3.