megachangelog
Feature5.19.0

Terraform Provider v5.19.0 — 14 new resources and migration improvements

Terraform Provider v5.19.0 adds 14 new resources across AI Gateway, Pipelines, R2, and Zero Trust, plus state upgraders for 26 resources to streamline v4 to v5 migration with the new tf-migrate CLI tool. This reduces manual effort and risk when upgrading.

Terraform Provider v5.19.0 introduces 14 new resources spanning AI Gateway, Pipelines, R2 Data Catalog, User Groups, Vulnerability Scanner, Workers Observability, and Zero Trust capabilities. This release significantly improves the v4 to v5 migration experience with automatic state upgraders for 26 resources, working seamlessly with the new tf-migrate CLI tool ↗ to automate resource renames, attribute updates, and moved block generation. Together, these enhancements reduce manual migration effort and minimize risk when upgrading from v4 to v5.

Note: cmd/migrate is deprecated in favor of tf-migrate and will be removed in a future release (#7062 ↗)

New Resources

  • cloudflare_ai_gateway: Manage AI Gateway instances
  • cloudflare_certificate_authorities_hostname_associations: Manage mTLS certificate hostname associations
  • cloudflare_custom_page_asset: Manage custom page assets
  • cloudflare_pipeline: Manage Cloudflare Pipelines
  • cloudflare_r2_data_catalog: Manage R2 Data Catalog
  • cloudflare_user_group: Manage user groups
  • cloudflare_user_group_members: Manage user group memberships
  • cloudflare_vulnerability_scanner_credential: Manage vulnerability scanner credentials
  • cloudflare_vulnerability_scanner_credential_set: Manage vulnerability scanner credential sets
  • cloudflare_vulnerability_scanner_target_environment: Manage vulnerability scanner target environments
  • cloudflare_workers_observability_destination: Manage Workers Observability destinations
  • cloudflare_zero_trust_device_ip_profile: Manage Zero Trust device IP profiles
  • cloudflare_zero_trust_device_subnet: Manage Zero Trust device subnets
  • cloudflare_zero_trust_dlp_settings: Manage Zero Trust DLP settings

Features

V4 to V5 Migration State Upgraders

State upgraders added for seamless migration from v4 to v5 for the following resources:

  • account
  • account_member
  • account_token
  • authenticated_origin_pulls
  • authenticated_origin_pulls_hostname_certificate
  • byo_ip_prefix
  • custom_hostname
  • custom_ssl
  • leaked_credential_check
  • leaked_credential_check_rule
  • logpush_ownership_challenge
  • mtls_certificate
  • observatory_scheduled_test
  • pages_domain
  • regional_tiered_cache
  • turnstile_widget
  • workers_custom_domain
  • zero_trust_device_custom_profile
  • zero_trust_device_default_profile
  • zero_trust_device_posture_integration
  • zero_trust_gateway_certificate
  • zero_trust_gateway_settings
  • zero_trust_organization
  • zero_trust_tunnel_cloudflared_virtual_network
  • zone_setting

Other Features

  • ruleset: Add content_converter and redirects_for_ai_training support to configuration rules
  • zero_trust_gateway_logging: Make importable

Bug Fixes

Migration & State Management

  • account_member: Add UseStateForUnknown to status field to prevent drift
  • authenticated_origin_pulls_settings: Fix no prior schema and no-op upgrade
  • certificate_pack: Initialize empty lists instead of null in state upgrader to prevent drift
  • migrations: Handle ambiguous schema_version state for v4/v5 coexistence
  • zero_trust_access_policy: Fix nil pointer panic in state upgrader; set PriorSchema nil for v4 state upgrade

Resource-Specific Fixes

  • ai_search_instance: Restore original defaults for cache and cache_threshold; conflict resolution
  • apijson: Return empty object from MarshalForPatch when no fields are serializable
  • dlp_predefined_profile: Eliminate perpetual entries and enabled_entries drift
  • dns_record: Avoid unnecessary drift for ipv4_only and ipv6_only attributes; remove private_routing default value
  • drift: Preserve prior state values for optional fields not returned by API
  • healthcheck: Use buildHealthcheckPlanChecks helper for correct plan checks per migration source; update assertions
  • leaked_credential_check_rule: Handle empty ID from v4 provider state migration
  • list_item: Remove context
  • logpush_job: Update model for migration
  • ruleset: Fix migration; add redirects_for_ai_training to SourceV4ActionParametersModel; fix duplicate model attribute
  • worker: Add UseStateForUnknown() plan modifiers and update tests for observability.traces
  • workers_custom_domain: Handle HTTP 200 no content header; update assertions
  • workers_script: Fix model drift
  • zero_trust_access_identity_provider: Fix boolean drifts
  • zero_trust_device_managed_networks: Upgrade resource state
  • zero_trust_gateway_policy: Make filters Computed+Optional to prevent drift
  • zero_trust_gateway_settings: Fix breaking changes; implement sweeper to reset account to clean defaults
  • zone_setting: Migration test improvements and fixes

Documentation

  • healthcheck: Update port description to clarify defaults
  • Add application-scoped access policy migration guidance
  • Update zone_settings_override migration guide for tf-migrate v2 workflow

For more information

terraforminfrastructuremigrationapi-resourceszero-trust

Source: original entry ↗

More from Cloudflare

Follow Cloudflare to get its new changes in your feed and email digest.

Improvement2026.8.2100.0

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.

macosvpnreliabilityperformancedns
Improvement2026.8.2100.0

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.

windowsvpnclienttunneldns
Improvement2026.8.2100.0

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.

linuxvpnclientperformancestability
See all Cloudflare changes →