Cloudflare · tool · fg-0209

cloudflare_dns_record apply fails with 'Provider produced inconsistent result' on modified_on after upgrading to 5.26

If you see Provider produced inconsistent result after apply ... .modified_on: was ... but now .., the cause and the fix for Cloudflare are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
Provider produced inconsistent result after apply ... .modified_on: was ... but now ...Every existing record plans + include_shadow_metadata = falseThe records do update in Cloudflare even though apply errors
Cause
Provider 5.26.0 added include_shadow_metadata and planned modified_on as unchanged, so the server side timestamp change looked inconsistent. 5.27.0 was incomplete and 5.28.0 fixed both the spurious diff and the error.
Fix
Upgrade the provider to 5.28.0 or later and run plan again.
Apply
terraform { required_providers { cloudflare = { source = "cloudflare/cloudflare", version = ">= 5.28.0" } } }
Affected
terraform-provider-cloudflare 5.26.0 and 5.27.0 (September to October 2026)
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun