Skip to content

Conversation

@4r7if3x
Copy link

@4r7if3x 4r7if3x commented Oct 12, 2025

  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Automatically quote TXT record content before sending to the Cloudflare API and strip outer quotes when reading back the state. This ensures compatibility with Cloudflare’s current API and dashboard, which require quoted TXT values, while preventing Terraform drift between quoted and unquoted forms.

Additional context & links

  • Cloudflare recently enforced quoting for TXT records in the dashboard and API.
  • This change allows unquoted HCL definitions like content = "v=spf1 include:... ~all" to work seamlessly.
  • Only affects content field of type = "TXT" records.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant