You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1015 B
Markdown
26 lines
1015 B
Markdown
+++
|
|
title = "Write infra/README.md — setup, apply, destroy instructions and required credentials"
|
|
priority = 3
|
|
status = "todo"
|
|
ticket_type = "task"
|
|
dependencies = ["25c413", "2d1371", "d0da0b", "a23489", "ae886f", "ae6a82"]
|
|
+++
|
|
|
|
<context>
|
|
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).
|
|
</context>
|
|
|
|
<goal>
|
|
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
|
|
</goal>
|
|
|
|
<commit>
|
|
`docs(quotesdb): write infra README with setup, apply, and destroy instructions`
|
|
</commit>
|