New Features and Capabilities
Cloudflare has released Terraform v5.17.0 with significant additions to provider functionality, particularly around AI Search integration and Workers script management. This release includes new data sources for AI Search instances and tokens, as well as enhanced capabilities for querying authenticated origin pull certificates and settings.
Workers Script Enhancements
The Workers script resource now supports targeted placement mode, allowing developers to specify placement targets using a new placement.target array for controlling placement by region, hostname, or host. Additional computed fields (placement_mode and placement_status) provide visibility into script placement. The provider also adds support for simple rate limit binding and the ability to retrieve script content directly via a new script field in the data source.
Bug Fixes and Stability Improvements
This release includes 20+ bug fixes addressing resource lifecycle issues, field normalization, and API compatibility. Notable fixes include correcting field references in cloudforce_one_request_message, DNS zone transfers, and DLP resources to use the proper identifiers instead of generic id fields. Additional improvements address state drift issues in hyperdrive configurations and empty object normalization.
Migration and Stabilization Progress
Cloudflare continues working toward complete resource stability, with the most-used resources targeted for stable status by end of March 2026. The provider now includes state upgraders for 95+ resources to support the ongoing migration from SDKv2 to the Framework, laying groundwork for improved v4-to-v5 migration tooling planned for the March release.
What Developers Need to Do
Review the full list of stabilized resources to identify which resources are production-ready. If using Workers scripts, update configurations to take advantage of targeted placement controls. Prepare for the March 2026 migration tool release by auditing your current v4 provider usage.