| Add Cloudflare provisioning and deploy tooling | 1 | terraform { |
| 2 | required_version = ">= 1.6.0" | |
| 3 | ||
| 4 | required_providers { | |
| 5 | cloudflare = { | |
| 6 | source = "cloudflare/cloudflare" | |
| 7 | version = "~> 4.44" | |
| 8 | } | |
| 9 | } | |
| 10 | } | |
| 11 | ||
| 12 | # CLOUDFLARE_API_TOKEN is read from the environment automatically by the | |
| 13 | # provider - never pass the token in as a variable or tfvars value, since | |
| 14 | # that would land it in the (unencrypted, locally-stored) state file. | |
| 15 | provider "cloudflare" {} |