Hold the cloudflare provider at 5.25.0: 5.26.0 plans 23 DNS record writes that fail upstream #35
Labels
No labels
area/backups
area/ci
area/containers
area/mail
area/minecraft
area/network
area/observability
area/tls
area/tofu
kind
bug
kind
chore
kind
feature
kind
investigation
kind
security
priority
high
priority
low
priority
medium
status/blocked
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
hutao/vps#35
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Dependency Dashboard (#31) offers
terraform cloudflare to v5.26.0. It was left out ofchore/updateson purpose.What 5.26.0 does to this workspace
tofu init -upgradeto 5.26.0, thentofu plan: 0 to add, 23 to change, 0 to destroy. Everycloudflare_dns_recordshows one line:In the provider source at
v5.26.0(internal/services/dns_record/), the new attribute isOptional+Computedwithbooldefault.StaticBool(false).Readnever fills it in (normalizeIncludeShadowMetadataruns only on import), so state keepsnulland config wantsfalse. The field is only a query parameter (query:"include_shadow_metadata"), so the records themselves would not change. ButUpdateis aPUT, so applying means 23 record writes, and two open upstream bugs say those writes fail:Provider produced inconsistent result after applyonmodified_on, for every record.400, code 1046, on records managed by Email Routing.cf2024-1._domainkey(module.dns.cloudflare_dns_record.dkim_cloudflare) is Cloudflare's own DKIM selector and may be one of those. If it is, the workspace cannot apply at all.On 5.25.0 the plan is
No changes.To do
tofu init -upgrade, the plan must be 0/0/0 and not show the 23include_shadow_metadatalines.