Terraform v5.20.0 now available
Terraform Provider v5.20.0 adds 24 new resources for managing Cloudflare infrastructure features including AI Search, Secrets Store, Zero Trust DLP, and OAuth clients. The release also upgrades the underlying Go SDK to cloudflare-go v7 and includes bug fixes and state upgraders based on community feedback.
Cloudflare's Terraform v5 Provider makes it easy for developers to manage their Cloudflare infrastructure using a configuration as code approach. It releases every 2-3 weeks ↗ to ensure that you can always manage the latest features in the platform. This week, we launched Terraform v5.20.0, which adds 24 new resources, bumps the underlying Go SDK to cloudflare-go v7, and includes a range of bug fixes and state upgraders based on community feedback.
New resources
- cloudflare_ai_search_namespace: Manage AI Search namespaces
- cloudflare_custom_csr: Manage custom certificate signing requests
- cloudflare_dls_prefix_binding: Manage DLS regional service prefix bindings
- cloudflare_flagship_app: Manage Flagship feature flag apps
- cloudflare_flagship_flag: Manage Flagship feature flags
- cloudflare_google_tag_gateway: Manage Google Tag Gateway
- cloudflare_load_balancer_monitor_group: Manage load balancer monitor groups
- cloudflare_oauth_client: Manage IAM OAuth clients
- cloudflare_origin_cloud_region: Manage origin cloud regions (v2 endpoints)
- cloudflare_secrets_store: Manage Secrets Store instances
- cloudflare_secrets_store_secret: Manage Secrets Store secrets
- cloudflare_share: Manage resource shares
- cloudflare_share_recipient: Manage share recipients
- cloudflare_share_resource: Manage shared resources
- cloudflare_zero_trust_device_deployment_groups: Manage Zero Trust device deployment groups
- cloudflare_zero_trust_dlp_data_class: Manage DLP data classes
- cloudflare_zero_trust_dlp_data_tag: Manage DLP data tags
- cloudflare_zero_trust_dlp_data_tag_category: Manage DLP data tag categories
- cloudflare_zero_trust_dlp_sensitivity_group: Manage DLP sensitivity groups
- cloudflare_zero_trust_dlp_sensitivity_level: Manage DLP sensitivity levels
- cloudflare_zero_trust_dlp_sensitivity_level_order: Manage DLP sensitivity level ordering
- cloudflare_zero_trust_resource_library_application: Manage Zero Trust resource library applications
- cloudflare_zero_trust_resource_library_category: Manage Zero Trust resource library categories
- cloudflare_zero_trust_tunnel_warp_connector_config: Manage WARP connector tunnel configurations
Features
- cache: add create (POST) method for smart_tiered_cache
- cache: update OPCR config to v2 endpoints
- dlp: promote classification Stainless config to main
- dlp: add custom prompt topics endpoint
- email_security_block_sender: state upgrader for v4 to v5 migration
- email_security_impersonation_registry: state upgrader for v4 to v5 migration
- email_security_trusted_domains: state upgrader for v4 to v5 migration
- snippets: add Terraform
id_propertyannotations for snippet and snippet_rules - bump Go SDK to cloudflare-go v7
Bug fixes
- account_member: missing upgrade path from v5.0–v5.15
- authenticated_origin_pulls_settings: nil pointer panic
- bot_management: restore
content_bots_protectionhandling in model.go - dns_record: prevent FQDN normalization from swallowing name shortening changes
- list: nullify empty nested objects to prevent inconsistent result after apply
- load_balancer_pool: accept early-v5 object-shape state at schema_version=0
- load_balancer_pool: add
UseStateForUnknownforload_sheddingattribute to prevent drift - r2_custom_domain: restore degraded-response handling in resource.go
- regional_hostname: update cloudflare-go imports from v6 to v7
- secrets_store: fix model/schema parity and guard acceptance tests
- spectrum_application: accept early-v5 object-shape state at schema_version=0
- worker: preserve
observability.traces.propagation_policyacross reads - worker: add
propagation_policyto observability defaults - worker_version: restore handwritten D1
database_idhandling - workers_custom_domain: missing
CertIdfield in state migration - workers_script: restore annotations Read workaround stripped by codegen
- zero_trust_access_identity_provider: change
read_onlyfrom computed to optional - zero_trust_access_identity_provider: add
UseStateForUnknownto SAML-only config fields - zero_trust_access_identity_provider: use
UseNonNullStateForUnknownon scim_config fields - zero_trust_access_policy: populate
account_idwhen migrating zone-scoped v4 state - zero_trust_access_policy: missing
common_namestransform in migration - gracefully handle nil pointer dereference when config has
attributes_flatduring migration - set initial schema version to 500 for all new resources
Refactors
Extracted MoveState nil guard into shared helper
For more information
Source: original entry ↗
More from Cloudflare
Follow Cloudflare to get its new changes in your feed and email digest.
Cloudflare One Client for macOS 2026.8.2100.0
GA release for macOS Cloudflare One Client with improved split tunnel handling that no longer briefly blocks traffic during reconnects, support for non-RFC 1918 local IPv4 networks, faster connects with lower memory use, and numerous reliability fixes across DNS, reauthentication, and client stability.
Cloudflare One Client for Windows 2026.8.2100.0
This GA release improves split tunnel reliability, adds support for non-RFC 1918 local networks, optimizes connection performance with faster reconnections and lower memory usage, and includes numerous bug fixes for DNS, registration, and network handling. The client now features a service recovery mechanism that automatically restarts on system unlock and better handles large hosts files without blocking traffic.
Cloudflare One Client for Linux 2026.8.2100.0
New GA release for Linux with improved split tunnel handling that no longer briefly blocks traffic during reconnects, support for non-RFC 1918 local IPv4 networks, faster tunnel reconnections, and lower memory usage. Includes numerous stability and reliability fixes for DNS, reconnection behavior, and crash issues.