fix(dns_record): auto-quote TXT content to meet Cloudflare requirements#6331
Open
4r7if3x wants to merge 1 commit intocloudflare:nextfrom
Open
fix(dns_record): auto-quote TXT content to meet Cloudflare requirements#63314r7if3x wants to merge 1 commit intocloudflare:nextfrom
4r7if3x wants to merge 1 commit intocloudflare:nextfrom
Conversation
44843f0 to
057b6a7
Compare
8419486 to
d301974
Compare
4c8915d to
9cc9eee
Compare
b026b4d to
262c3dd
Compare
c008d92 to
056691a
Compare
cc2f02a to
94b9515
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes being requested
Automatically quote
TXTrecord 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
content = "v=spf1 include:... ~all"to work seamlessly.contentfield oftype = "TXT"records.