cloudflare/terraform-provider-cloudflare v5.18.0
cloudflare/terraform-provider-cloudflare
Captured source
source ↗GH
Source ↗published Mar 1, 2026seen Jun 26captured 3whttp 200method plain
v5.18.0
Repository: cloudflare/terraform-provider-cloudflare
Tag: v5.18.0
Published: 2026-03-01T18:22:39Z
Prerelease: no
Release notes:
5.18.0 (2026-02-28)
Full Changelog: v5.17.0...v5.18.0
Features
New Resources
- cloudflare_client_certificate: add new resource for managing zone-level client certificates used in mutual TLS (mTLS) authentication
- cloudflare_custom_origin_trust_store: add new resource for managing custom CA certificates in a zone's origin trust store
- cloudflare_zero_trust_dex_rule: add new resource for managing Zero Trust DEX (Digital Experience Monitoring) rules that target WARP client network tests via wirefilter expressions
- cloudflare_zero_trust_gateway_pacfile: add new resource for managing Zero Trust Gateway PAC (Proxy Auto-Configuration) files including contents, slug, and download URL
New Data Sources
- cloudflare_client_certificate: add new data source to read a single client certificate by ID
- cloudflare_client_certificates: add new data source to list client certificates for a zone with status, limit, and offset filtering
- cloudflare_custom_origin_trust_store: add new data source to read a single custom origin trust store certificate
- cloudflare_custom_origin_trust_stores: add new data source to list custom origin trust store certificates for a zone
- cloudflare_zero_trust_dex_rule: add new data source to read a single Zero Trust DEX rule by account and rule ID
- cloudflare_zero_trust_dex_rules: add new data source to list Zero Trust DEX rules with filtering by name and sorting options
- cloudflare_zero_trust_gateway_pacfile: add new data source to read a single Zero Trust Gateway PAC file
- cloudflare_zero_trust_gateway_pacfiles: add new data source to list all Zero Trust Gateway PAC files for an account
New Attributes
- cloudflare_ai_search_instance: add
fusion_methodattribute to control hybrid search result fusion strategy (maxorrrf) - cloudflare_ai_search_instance: add
retrieval_optionsblock withkeyword_match_modeto control keyword search matching behavior (exact_matchorfuzzy_match) - cloudflare_ai_search_instance: add
descriptionattribute underpublic_endpoint_paramsblock - cloudflare_ai_search_instance: expand model enumerations for
aisearch_model,rewrite_model, andsummarization_modelwith new options - cloudflare_certificate_pack: add
dcv_delegation_recordsread-only block exposing DCV delegation CNAME, email, HTTP, and TXT validation record details - cloudflare_certificate_pack: add
cname,cname_target, andstatusfields tovalidation_recordsnested block - cloudflare_custom_ssl: add
deployoptional attribute to specify deployment environment (stagingorproduction) - cloudflare_page_shield_policy: add
"add_reporting_directives"as a valid value for theactionattribute - cloudflare_ruleset: add
"http_response_cache_settings"phase and new"set_cache_control"/"set_cache_tags"rule actions - cloudflare_ruleset: add
action_parameters.strip_etags,action_parameters.strip_last_modified, andaction_parameters.strip_set_cookieboolean attributes for cache header control - cloudflare_ruleset: add full suite of HTTP Cache-Control directive attributes under
action_parameters(immutable,max_age,must_revalidate,no_cache,no_store,private,public,s_maxage,stale_if_error,stale_while_revalidate, and more) - cloudflare_stream_live_input: add
enabledboolean attribute to control whether the live input can accept streams - cloudflare_worker_version: add
bindings.outbound.worker.entrypointstring attribute for specifying the outbound worker entrypoint - cloudflare_zero_trust_access_application: add
policies.connection_rules.rdpblock withallowed_clipboard_local_to_remote_formatsandallowed_clipboard_remote_to_local_formatsfor RDP clipboard control - cloudflare_zero_trust_access_policy: add
connection_rules.rdpblock withallowed_clipboard_local_to_remote_formatsandallowed_clipboard_remote_to_local_formatsfor RDP clipboard control - cloudflare_zero_trust_access_policy: add
mfa_configblock withallowed_authenticators,mfa_bypass, andsession_durationfor per-policy MFA configuration - cloudflare_zero_trust_dlp_custom_entry: add optional
descriptionattribute - cloudflare_zero_trust_dlp_custom_profile: add
shared_entriesattribute list as the replacement for the now-deprecatedentriesattribute, with richer schema includingdescription,variant,word_list, and expandedtypeenum - cloudflare_zero_trust_dlp_entry: add optional
descriptionattribute - cloudflare_zero_trust_dlp_integration_entry: add
descriptionattribute - cloudflare_zero_trust_dlp_predefined_entry: add
descriptionattribute - cloudflare_zero_trust_organization: add
mfa_configblock (allowed_authenticators,session_duration) for organization-level MFA configuration - cloudflare_zero_trust_organization: add
mfa_configuration_allowedboolean to indicate if the organization can enforce MFA at the application or policy level - cloudflare_zero_trust_organization: add
mfa_required_for_all_appsboolean to control whether global MFA settings apply to all applications by default
Bug Fixes
- cloudflare_authenticated_origin_pulls_certificate: add
serial_numberread-only attribute exposing the certificate serial number - cloudflare_custom_ssl: rename
policytopolicy_restrictionsin the data source to match the API response field name - cloudflare_hostname_tls_setting: correct
valueattribute type from Number to String in the data source - cloudflare_load_balancer_pool: change
originsattribute type from List to Set to prevent ordering-related drift - cloudflare_load_balancer_pool: move
disabled_atfrom read-only to optional within theoriginsblock - cloudflare_queue: replace
consumers.queue_idandconsumers.scriptwithconsumers.dead_letter_queueandconsumers.queue_nameto match current API schema - cloudflare_queue_consumer: promote
typeattribute from Optional to Required; replacescriptwithqueue_nameand adddead_letter_queueread-only attributes - cloudflare_worker_version: change...
Excerpt shown — open the source for the full document.