# cloudflare/terraform-provider-cloudflare

Cloudflare Terraform Provider

Repository: https://github.com/cloudflare/terraform-provider-cloudflare
Canonical: https://ross.abutalabs.com/products/terraform-provider-cloudflare
Homepage: https://registry.terraform.io/providers/cloudflare/cloudflare
Language: Go
License: Apache-2.0
License Family: permissive
Topics: terraform, terraform-provider, cloudflare
Last push: 2026-08-24T18:09:24+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 3376, "days_push": 9, "days_rel": 9, "gap_med": 13, "n_releases_24m": 56}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1318, forks 882 (observed 2026-08-28T04:04:20.948048+00:00)

## What it is
The official Terraform provider plugin for Cloudflare, letting users manage Cloudflare resources (zones, DNS records, load balancers, WAF rules, etc.) declaratively via HashiCorp Terraform. Written in Go and distributed through the Terraform Registry.

## Use cases
- manage cloudflare dns records with terraform
- provision cloudflare zones as code
- automate cloudflare waf and firewall rules
- manage cloudflare load balancers via iac
- import existing cloudflare resources into terraform
- version control cloudflare configuration

## When to choose
- you already use terraform and want cloudflare resources in the same state and workflow
- you need repeatable, reviewable, auditable changes to cloudflare configuration
- you want to coordinate cloudflare settings with other cloud providers in one codebase

## When to avoid
- you need real-time or event-driven cloudflare automation rather than declarative state reconciliation
- you prefer imperative CLI or API scripts for one-off changes
- your team has no terraform experience and manages only a handful of cloudflare settings

## Facets
- artifact type: plugin
- maturity: active
- function: infrastructure-as-code, configuration-management, deployment, api-gateway, networking
- domain: infrastructure-as-code, cloud-computing, networking, security
- platform: go, cloud, cli, cross-platform
- tags: terraform-provider, cloudflare, hashicorp, declarative-infrastructure, cdn, dns-management, devops, terraform

## Member repositories
- cloudflare/terraform-provider-cloudflare (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:20.948048+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:47:57.619783+00:00, confidence not recorded.
  - readme: https://github.com/cloudflare/terraform-provider-cloudflare (fetched 2026-08-28T04:04:20.948048+00:00, sha bba3a693e837)
  - homepage: https://registry.terraform.io/providers/cloudflare/cloudflare (fetched 2026-08-29T12:06:32.824396+00:00, sha 9edc94571ef3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
