Changelog
5.24.0 (2026-08-20)
BREAKING CHANGES
The following upstream API schema changes required corresponding provider schema updates. Existing state files load without user action (the plugin framework silently drops attributes that no longer exist in the schema), but Terraform configurations that still reference removed attributes must be updated before terraform plan will succeed.
- hostname_tls_setting: the
cloudflare_hostname_tls_settingdata source now requireshostnameas an input parameter instead of returning it as a computed attribute. The computedidattribute has been removed; usesetting_idinstead. (ece27fe) - image_variant: the computed
variantnested attribute has been removed. The API no longer returns this wrapper object; theid,options, andnever_require_signed_urlsfields remain available at the top level. Remove any references tocloudflare_image_variant.<name>.variantfrom your configurations. (738bd28) - organization: the computed
meta.flagsnested attribute has been renamed tometa.tenant_flags. Two new computed sub-attributes (enterprise_capability,member_management) have been added. Update any references from.meta.flagsto.meta.tenant_flags. (ece27fe) - zero_trust_access_ai_controls_mcp_portal: the
allow_code_modeattribute is now deprecated and no longer computed with a default oftrue. Use the newcode_modeattribute ("off","opt_in","default_on","enforced") instead. Configurations that relied on the computed default must explicitly setcode_modeorallow_code_mode. (ece27fe) - zero_trust_access_policy: the
session_durationattribute is no longer computed with a default of"24h". It is now optional-only. Existing configurations that omittedsession_durationand relied on the provider default will see a plan diff; explicitly setsession_duration = "24h"to preserve the previous behavior. (ae4f5a1) - zero_trust_organization: the
allowed_authenticatorsenum valuessh_piv_keyhas been renamed topiv_key, and a new valuessh_fido2_keyhas been added. Configurations using"ssh_piv_key"must be updated to"piv_key". (ece27fe) - zero_trust_resource_library_application: the
idattribute type changed fromStringtoInt64. The computedintel_idattribute has been removed. Thehostnames,ip_subnets,port_protocols,support_domains, andsupportedattributes changed fromListtoSet(element ordering is no longer significant). These changes apply to both the resource data source and the list data source. (ece27fe) - zero_trust_resource_library_category: the
idattribute type changed fromStringtoInt64on both the data source and list data source. (ece27fe) - zero_trust_tunnel_cloudflared: the computed
is_pending_reconnectattribute has been removed fromconnections. The upstream API no longer returns this field. Remove any references toconnections[*].is_pending_reconnectfrom your configurations. (ece27fe) - zero_trust_tunnel_warp_connector: the computed
is_pending_reconnectattribute has been removed fromconnections, matching thezero_trust_tunnel_cloudflaredchange above. (ece27fe)
New Resources
- cloudflare_ct_alerting: onboard new Terraform resource for Certificate Transparency alerting (ece27fe)
- cloudflare_precursor: onboard new Terraform resource for Precursor (ece27fe)
New Data Sources
- cloudflare_hostname_tls_settings: add list data source for hostname TLS settings (ece27fe)
Features
- bump Go SDK version to v7.9.0 (79c7d4f)
- ai_gateway: add
log_classificationattribute andunifiedbilling mode (ece27fe) - ai_search_instance: add
discover_optionsfor link-following web crawler configuration (ece27fe) - ai_search_namespace: add
public_endpoint_paramswith MCP, rate limiting, custom domains, and chat completions configuration (ece27fe) - cloud_connector_rules: add
oci_storagecloud provider type (ece27fe) - d1_database: add
uslocation restriction value (ece27fe) - load_balancer_pool: add
health_sourcesattribute for regional health steering (ece27fe) - ruleset: add vary parameter to set_cache_settings action (e9cdc20)
- waiting_room: add Latvian (
lv-LV) language support (ece27fe) - worker: add
preview_url_suffixandurlcomputed attributes to subdomain block (ece27fe) - worker_version: add
messagingbinding type (ece27fe) - zero_trust_access_ai_controls_mcp_portal: add
code_modeattribute for granular Code Mode policy control (ece27fe) - zero_trust_access_ai_controls_mcp_server: add
authentication_statuscomputed attribute (ece27fe) - zero_trust_access_application: add worker destination types for Access (118fe39)
- zero_trust_access_custom_page: add
contract_version,warnings, and newtypevalues (login,interstitial) (ece27fe) - zero_trust_access_service_token: add
enabledattribute to control service token activation (ece27fe) - zero_trust_dlp_*_entry: add computed
deprecatedattribute to all DLP entry resources and data sources (ece27fe) - zero_trust_organization: add
warp_auth_non_browser_401attribute for non-browser 401 responses (ece27fe) - zone_setting: add
webmcp_enabledandwebmcp_packssetting IDs (ece27fe)
Bug Fixes
- guard against nil pointer dereference in dynamic semantic equality (d82bbd5)
- image_variant: fix nested variant response deserialization (738bd28)
- port v5.23.0 regression fixes from GitHub main (ae4f5a1)
- remove duplicate declarations causing build failures (dc360d2)