| name | terraform-infra-ops |
| description | Operate and update the Terraform infrastructure in ops/infra, including init/apply flows, formatting, and linting. Use when modifying Cloudflare Pages/R2 resources, updating Terraform state config, or running infra operations. |
Terraform Infra Ops
Overview
Apply and maintain the Cloudflare Terraform infrastructure using the repo's documented workflow.
Workflow
- Work from
ops/infraand follow the runbook inops/infra/README.mdfor first-run vs subsequent runs. - Export required backend variables (
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_ENDPOINT_URL_S3) before running Terraform. - Run
terraform fmtandtflinton changes before completion.