--- # quotesdb-8zm9 title: '[TRIAGE] Correct cloudflare_workers_script resource name in current Cloudflare provider version' status: completed type: task priority: high created_at: 2026-03-10T23:32:11Z updated_at: 2026-03-10T23:32:11Z --- This is a triage decision ticket. It must be resolved before dependent implementation tickets can proceed. Correct Cloudflare Workers script resource name: the Cloudflare OpenTofu provider has changed resource names across versions. What is the correct resource name in the currently pinned provider version? 1. **cloudflare_workers_script** — older resource name, may be deprecated. 2. **cloudflare_worker_script** — alternative naming (singular "worker"). 3. **Check provider changelog** — run `tofu providers schema` after `tofu init` to see available resources. **`cloudflare_workers_script`** (Option 1 — plural "workers"). Confirmed directly from the Cloudflare provider v4 GitHub source (`docs/resources/workers_script.md`). The resource is documented as `cloudflare_workers_script` with a `d1_database_binding` block. The singular form `cloudflare_worker_script` does not exist in v4. Also confirmed alongside triage 07cafb: the `d1_database_binding` block has required fields `name` (binding variable name) and `database_id` (the D1 ID, referenced as `cloudflare_d1_database.db.id`). Ticket a23489 updated with this resource name. 1. Research the options above and choose the best approach for this project. 2. Run `tofu providers schema | jq` to find the correct resource name. Update ticket a23489. 3. Mark this ticket done with a note on the chosen approach in the body or a comment. `chore(quotesdb): resolve triage — cloudflare_workers_script-confirmed-plural-provider-v4`