# cloudflare/cf-terraforming

A command line utility to facilitate terraforming your existing Cloudflare resources.

Repository: https://github.com/cloudflare/cf-terraforming
Canonical: https://ross.abutalabs.com/products/cf-terraforming
Language: Go
License: MPL-2.0
License Family: copyleft
Topics: cloudflare, terraform
Last push: 2026-07-28T17:02:45+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 81, longevity 100
- inputs: {"age_days": 2826, "days_push": 36, "days_rel": 44, "gap_med": 33.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1396, forks 170 (observed 2026-08-28T04:04:36.593091+00:00)

## What it is
A command line utility that fetches existing Cloudflare resources via the Cloudflare API and generates Terraform HCL configurations for them. It enables one-time bootstrapping of Terraform management for pre-existing Cloudflare zones and account resources.

## Use cases
- generate terraform config from existing cloudflare resources
- import cloudflare dns records into terraform
- bootstrap terraform for an existing cloudflare account
- convert cloudflare api settings to hcl
- adopt existing cloudflare zones into infrastructure as code
- generate terraform import blocks for cloudflare resources

## When to choose
- you already manage Cloudflare resources manually and want to start using Terraform
- you need a one-time HCL export of Cloudflare resources
- you want to generate import blocks compatible with Terraform 1.5+

## When to avoid
- you need continuous drift detection or syncing in CI (explicitly unsupported)
- you are starting Cloudflare resources from scratch in Terraform
- you need Terraform < 0.12 compatibility with current releases

## Facets
- artifact type: cli-tool
- maturity: active
- function: infrastructure-as-code, cli, developer-tools, configuration-management
- domain: infrastructure-as-code, cloud-computing, developer-tools
- platform: cli, cross-platform, windows
- tags: cloudflare, terraform, hcl-generation, resource-import, go, devops, linux, macos

## Member repositories
- cloudflare/cf-terraforming (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:36.593091+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:39:18.884543+00:00, confidence not recorded.
  - readme: https://github.com/cloudflare/cf-terraforming (fetched 2026-08-28T04:04:36.593091+00:00, sha 8f450d9d06b7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
