Cloudflare Queue
A managed, guaranteed-delivery message queue for Cloudflare Workers, with an optional push (Worker) or pull (HTTP) consumer.
What Gets Created
- A
cloudflare_queuewith optional delivery settings. - When
consumeris set, acloudflare_queue_consumer(provisioned separately so toggling it never recreates the queue).
Prerequisites
- A Cloudflare account ID.
- For a worker consumer, a Worker script to consume the queue.
Configuration Reference
Required
accountId— Cloudflare account ID.queueName— the queue name.
Optional
settings.deliveryDelay,settings.deliveryPaused,settings.messageRetentionPeriod.consumer.type(worker|http_pull),consumer.scriptName,consumer.deadLetterQueue, andconsumer.settings.*.
Stack Outputs
| Output | Description |
|---|---|
queue_id | The queue ID |
queue_name | The queue name |
created_on | Creation timestamp |
modified_on | Last-modified timestamp |
Related Components
- CloudflareWorker
- CloudflareR2Bucket
Next article
Cloudflare R2 Bucket
Cloudflare R2 Bucket Deploys a Cloudflare R2 object storage bucket together with its bucket-scoped configuration: location and jurisdiction, default storage class, managed (r2.dev) public access, custom domains, CORS, object lifecycle, and object lock. Custom domains integrate with CloudflareDnsZone via foreign-key references. What Gets Created When you deploy a CloudflareR2Bucket resource, OpenMCF provisions: R2 Bucket — a cloudflarer2bucket in the specified account, with the configured...