Cloudflare List Item
Write a single entry into a Cloudflare List, matching the parent list's kind.
What Gets Created
- A
cloudflare_list_item(one IP/CIDR, ASN, hostname, or redirect) inside an existing list.
Prerequisites
- A Cloudflare account ID.
- An existing
CloudflareListto write into.
Configuration Reference
Required
accountId— Cloudflare account ID.listId— list ID, or a reference to aCloudflareList.- exactly one of
ip/asn/hostname/redirect.
Optional
comment— informative summary.
Stack Outputs
| Output | Description |
|---|---|
item_id | The list item's identifier |
list_id | The list written to |
Related Components
- CloudflareList
- CloudflareRuleset
Next article
Cloudflare Load Balancer
Cloudflare Load Balancer Deploys a zone-scoped Cloudflare Load Balancer that attaches a DNS hostname to one or more account-scoped pools and steers traffic across them with health-aware failover, geo-routing, weighted distribution, and session affinity. What Gets Created A cloudflareloadbalancer bound to the hostname and zone, referencing the given defaultPools (and fallbackPool), with the configured steering, session affinity, geo-pool maps, adaptive routing, and location strategy. Pools and...