cloudflare/terraform-provider-cloudflare ? reverse-engineered prompt

Reverse engineered prompt

Build me a Terraform provider for Cloudflare that lets me manage Cloudflare settings from my Terraform files.

I want to be able to connect with a Cloudflare API token, and if needed the older API key and email method too, plus account and zone IDs from environment variables or config. The provider should work with Terraform CLI 1.0 or newer, and I should be able to run terraform init and then define things like a Cloudflare zone in main.tf.

Please make it feel like a real production ready provider, with good docs, examples, and clear error messages. If there are existing examples or registry docs to match, use those as a guide, and look up current Cloudflare API details online if you need to. Also make sure it follows sensible versioning and is easy to maintain for future releases.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab