Cloudflare Docs
Terraform
Visit Terraform on GitHub
Set theme to dark (⇧+D)

Tutorials

Before you begin, make sure you install Terraform . Each tutorial builds on the previous, so you should complete the tutorials in the order shown below.

1 – Initialize Terraform

2 – Track your history

  • Store Cloudflare configuration in source control.

3 – Configure HTTPS settings

4 – Improve performance and reliability

5 – Add exceptions with page rules

6 – Revert configuration

  • Review change history.
  • Roll back changes.