Appearance
0010: OpenTofu for Cloudflare
Context
The old repo had 44 Pulumi stacks and switched from Terraform mid-project.
Decision
Infrastructure as code is Docker Compose files plus OpenTofu for the tunnel, DNS and Access applications. The owner applies it from his machine, not from the pipeline.
Consequences
Not revisited before both companies are live.
Amendment, 2026-10-02: the docs site (#124)
The docs site's Cloudflare set-up was made through the Cloudflare API with a temporary token, at the Product Owner's choice, not through OpenTofu. #124 records each resource and its id: the Pages project getmy-books-docs, the Access application and policy, and the docs DNS record. If the OpenTofu set-up is extended later, import those resources rather than recreating them. CI publishes with a separate token that can edit Pages only.