Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_dns_txt_record - Update dns txt resource max string #24169

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/services/dns/dns_txt_record_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func resourceDnsTxtRecord() *pluginsdk.Resource {
"value": {
Type: pluginsdk.TypeString,
Required: true,
ValidateFunc: validation.StringLenBetween(1, 1024),
ValidateFunc: validation.StringLenBetween(1, 4096),
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion internal/services/dns/dns_txt_record_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ resource "azurerm_dns_txt_record" "test" {
}

record {
value = "A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......A long text......"
value = "4096CHARACTERS_bfqugzpxjsjxvbkukzytkkdfxdqasaoprqmliysgakoqmpqtfflgqkatyhzsvzaxzaztqmmtsthatidguzlqhvjamtoqpctfhgrsszgdzneudemofnivjmteucpdpiqwiueqoawkrggwysxehqawqlmzpnpbnyrizhmckrhyibicnyhaqcxisildwwzofmsromleqjexmbdoqsnrnjwltymbxiwfumemxacvxymjazyhgrsdjibfzrwfomruffdgvnpfjnlucpuhpjyoahfavuyvyfyonhjwmyoejjfbcvhvefhaikslxguyxkdhiiyiurtxengazdscdogdtcwceiikaafwobcfxxvpuehifkjlnjtgouguxifrdhppipubksaljpdakfmncznubqgdthrzzvjgquxivgudpijmvfgiahnsujkrystyvxgqumxnvxjoybswdimgkcdcocylljmasseczxuxakrcukubxdxtiomuhogcxpxxdpdolxhtutwyvzjdioveafuftwaputvbhcedhpvvzcoyqnthliedmtcrpxzettcxqjpalzqhxzdpakmiedzyrjtnnoglrlpqbgkubqehipixoufljccvqsccpqhqqqwfpdvxegrcrcivlguxnmjedkulcbdqskpuqtrgyadxegoasmwzxbfbjloehdephofmemvqcaewknibtyretyvhzdzcwsdcvkvauepuskooqapmhpocayhzajjffrpmjczwhviyufcvgyumdankaohhmqbujiugtxhocvtqzrattzdohmkubkjownfsdivsmuaebgksazjrbgyycqskzviihspmvlkgrohdppajwhkflkryouoswtjocazktvfvqwxabulkixnpgxhmzxtbllqntlaythbokgpdwlvumbnaekelsmzhworonmagtjaasoovveqhfbegfcvybgtknagxwtfadnpxcgbvezosgvltkkmybzeudzhfbubyxmxniwbmnuwubykdsxcabeadlhooprufuhdsybwwtsbejzbrkcgttphzegznypnrljxlrxvkziurvomcesbjyuvikrosxayupmujcoztcmnosphfvxztnzvugubgajymflcpclcpwqadnstgggzvqtqjpcrxqumouzxfiugbgthsxwnzaszpijrwgrszdvevxtjvtjikzwfetuqciegxgfgkeaslfawhbpbencvgucnjrgunfhjieepojeglqklnmjsdvkewehtrbglfbdxbuvccgvwkcyewphaycutircpxyjmecotizltnhzqlisnyfutaaqufgubscarkvufvtrzjfkozdruxupszblekkgsnhuopiskzwdnrtrulbqspiajwdcnshjfhwjjpzuxfokzuopuxgpfonftugwvsyzzgepekfqhbjtleqoiniietmrtwqaruxosanllldwndexsblwofznwbtiyvbbidzqivyacslcxgqlniqjnphrdplulceeglqivlvmaskfxshonssezebskqaklpofipbxjhkadhtqwreqkznqcuondgizwcwyxmirhoaydnikajzekjgtzkbfphfzfbxqouacoyesfrnlzepanpabtqszutknwumpdndtprfbbhcjzsyhnhaszpyhhfrhbqypvnaeqgqadwmbbollbocolufbxgoeechrmkpxeleeljgjuspavsxyamwedpvfqsfkgwgwelvuoehpulyvepccampbkfwczfmsrqlcmpjodmhvkurhhdekygyugdscjhabkduodemwcvaaggdgpkuveshaeiprigvvkrmabvjdzvbskvopnlsajmhwhupnsabztqcphmjxrzilndrnongsqttvzisuonimzuqxcwdsjgqofzwiliqpuxayivvynxyjgmnhqlkumvhxxrwinezunisdjtbjqluuixashyjyinptahiaqndlxerputomyzriuoinjhcdhrgawkxelsggnznxpifjziicwgvfzftdlktohqvljzhafbmhrtmdngvauqakoeuinrbuyiljlcqervpnqwfzspdhyuswcswhddanikytyjlgrdsyatvhdscsmlebbnktmdpndegjrcmabxaimmrbuwhgvwpuyszmhehqbswhtgbnvsesovsmdddzsboashcbwyaobbmrrzfkichrdntqgrepvljyhsnylipbtwldfbnjbiyiwozocjsewraxoorvwsistibwobawedthsiedsjotdxadbwccrwnpsfrjxomnmaurwgghccvvzzmzyfostmewvbnbxrnrjjmyaiquucxpjuhvhnojgwqddghtwtpmvfkhjyuxhswvkyokctjxcochcixdkjglkublqilgbcgprjnyezgcfbrjctyrbvmvhsxwixasgcmnggfkbnumnttpcinmuvvtwijnbypkioyouriweanhunqajmqutazdjwswaifxtobbbobqsflqtlqptgmlcmbqbuhgupdkdcwrmsodlsapwpgrnxbmmzshxdxaslhcnutofibfejelxvyxcqkmnzdgfthznagqmnitjxtgyqfzjisnriozrkkiohyovwgyvlbeeimgupobxmqzadjuacrmcqqwbeidkmdwzvfkqitlrctppwqmrhhgktgebtppbtymlkywxkgeavtfcorrizmrijxmsztepwxoecrqcdohkfbeamlkabxjuideklwvqxnlmfqvqlcpqyoezjbhivfidmcyxbmvjnehfwinemyucbhwwczgppagdegkjogfggfzwdktvrybglnsxamybawkrjvbhgfsejrqgzwrdnfbyrpnfgvvmdlnthrtfsccfakiveutpydwhypmsyyomihwbgmogbfxarnqkwxgyowywjiscmbcegugfncrblregwkndmkklsgtopwefiryhjkhtapjjsscxkzpqjoriatqhqklzlinhalciabvgpminoxkxlkgkbdkswlavxoltgpwoccjamodttksmwglfurtzbolpmsfzhxwzsvkblobdhnyhdabzvagfzoycgvuyibmkqavdltojidcjkxebxegqjqgyuyereyurvoxgxeknokytpzqijqjxocctrfiqtwynmofxjtvcenqylqakfgofakjpuwxmsqgcadqadbpmxaawmgssbocdvapdxkfezqyycggazfabtocuxpljyqiahjaogeupafhuebqoeahifxgftskzznbpxgaiwfcnbhcnjpbzvfqscdfjvvybhmjrmlulsnggywokqsuttvkktsbfaqsvpmvjxgnmvewauxxswcjtvnayqnclesllxajukytdujutnqvwpppzyhsbbakhnedktmfvlrpdhrtfezezamywipjyviizsyofceftefygzyyuknpiaeqbqsuzschvuunuroklucsdthqpsktcwndfcepzljmhtpizcoxkjlaxjdlpczrrqnxbgmifztxmnyoonztgekrxjfqoakqekwcwosrlykwrjxyrhvplcoksdqktnqmvfgcogxwiryavurehmasebrewqldpoursdhjibufurqdcyjnvjxffcqmlgsbdfittbrvydnokhtwmrvprwffqyxsenuubshraerfsrtjrbaogjafjdrfgyvhyaevkbolxqtdidwkxywqtgszxlmaxbsfrhpoixujdntexgidkutgskmiwjslrfslnlnsgovwsfhbrmnafedybrzvtzwqhbzsyudshuxgwzcvqmbouoahifkrhoxfdvzuqpxyikmgmbcpqsxyjvactnhszhkligtpnvhwoujgfkggrpqjmelkicvndcvbzivrtuuejrhqmwdshewtqufkpzkuhhdcjfetzxurtxgnibnkgibtwghrtlwftoveeekasgbyobtvhxrprwlxyjbymrholztzzgpawcoeietcvbbfsckqgbxxqclxhiozseikdxytypqehfvroumsleumcjkphnonvvkfzesdfznswjtmiha"
}
}
`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.RandomInteger)
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dns_txt_record.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ The following arguments are supported:

The `record` block supports:

* `value` - (Required) The value of the record. Max length: 1024 characters
* `value` - (Required) The value of the record. Max length: 4096 characters

## Attributes Reference

Expand Down
Loading