+++
title = "Write infra/README.md — setup, apply, destroy instructions and required credentials"
priority = 3
status = "todo"
ticket_type = "task"
dependencies = ["2d1371", "d0da0b", "a23489", "ae886f", "ae6a82"]
+++
Infrastructure is managed with OpenTofu using the Cloudflare provider. Configuration lives in `infra/`. Resources include a Cloudflare Worker (API), Cloudflare D1 database (bound to the worker), and a Cloudflare Pages project (UI frontend).
Write `infra/README.md` covering:
1. Overview of the infra resources (Worker, D1, Pages, custom domain)
2. Prerequisites (Nix dev shell, Cloudflare account, API token)
3. How to apply the infrastructure (`tofu init && tofu plan && tofu apply`)
4. How to destroy the infrastructure (`tofu destroy`)
5. Required credentials and environment variables
6. Known issues / TRIAGE decisions and their resolutions
`docs(quotesdb): write infra README with setup, apply, and destroy instructions`