Skip to content
Visit Terraform on GitHub
Set theme to dark (⇧+D)

Cloudflare Terraform documentation

Configure Cloudflare using HashiCorp's “Infrastructure as Code” tool, Terraform.

With Cloudflare’s Terraform provider, you can manage your edge using the same familiar tools you use to automate the rest of your infrastructure. Define and store configuration in source code repositories like GitHub, track and version changes over time, and roll back when needed—all without needing to learn the Cloudflare APIs.


See Installing Terraform.


Report Terraform config issues via GitHub.