Cloudflare List
Provision an account-scoped Cloudflare List — a reusable, named collection referenced from rule expressions.
What Gets Created
- A
cloudflare_list(the container) of kindip,redirect,hostname, orasn. Entries are added separately viaCloudflareListItem.
Prerequisites
- A Cloudflare account ID.
Configuration Reference
Required
accountId— Cloudflare account ID.kind—ip,redirect,hostname, orasn(immutable).name— name used in rule expressions (immutable).
Optional
description— human-readable summary.
Stack Outputs
| Output | Description |
|---|---|
list_id | The list ID (referenced by list items) |
name | The list name |
kind | The list kind |
Related Components
- CloudflareListItem
- CloudflareRuleset
Next article
Cloudflare List Item
Cloudflare List Item Write a single entry into a Cloudflare List, matching the parent list's kind. What Gets Created A cloudflarelistitem (one IP/CIDR, ASN, hostname, or redirect) inside an existing list. Prerequisites A Cloudflare account ID. An existing CloudflareList to write into. Configuration Reference Required accountId — Cloudflare account ID. listId — list ID, or a reference to a CloudflareList. exactly one of ip / asn / hostname / redirect. Optional comment — informative summary....