Cloudflare's Terraform Provider v5.20.0 lands with 24 new resources!
Hey there, it's me, Shii-chan! Today I've got good news for everyone who manages their infra as code.
Cloudflare ChangelogWhat was announced?
Over on the Cloudflare Changelog, Cloudflare's Terraform provider v5.20.0 is now available. This release adds 24 new resources and bumps the internal Go SDK to cloudflare-go v7. On top of that, it includes lots of bug fixes and state upgraders based on community feedback.
The story so far
When you manage Cloudflare infra with Terraform, a new feature is only useful in your .tf files once the provider supports it. As each release widens that coverage, you can gradually move settings you used to click through in the dashboard into code instead.
What changes
There's a lot you can now manage. For example, AI Search namespaces, Secrets Store instances and secrets, Zero Trust DLP pieces (data classes, tags, sensitivity groups, and more), WARP connector tunnel configurations, and Flagship feature flag apps and flags. Areas that were previously waiting for support can now be handled together in Terraform.
Dive Deep
A few more specifics:
- The internal Go SDK is bumped to cloudflare-go v7
- Bug fixes include preventing FQDN normalization from swallowing name-shortening changes, fixing nil pointer panics, and addressing state migration and drift issues
- Email security resources get a state upgrader from v4 to v5
The Terraform documentation is your starting point. If you hit a snag moving to the v5 line, check the Version 5 Migration Guide. The list of resources stabilized in this release is collected in a GitHub issue.
Wrap-up
- Cloudflare's Terraform provider v5.20.0 is out, adding 24 new resources
- The internal Go SDK is updated to cloudflare-go v7
- It also ships plenty of bug fixes and state upgraders
This one is for everyone in the IaC crowd who manages Cloudflare with Terraform. Next time you bump the provider version, take a look at the newly supported resources!