You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I created a pull request updated it to 4096. I think it should be ok even if National clouds are still set at 1024. I assume the response to going over that limit would respond with that but I can't test it.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.6.5
AzureRM Provider Version
3.83.0
Affected Resource(s)/Data Source(s)
azurerm_dns_txt_record
Terraform Configuration Files
Debug Output/Panic Output
Error: expected length of record.0.value to be in the range (1 - 1024)
Expected Behaviour
The Terraform configuration for Azure TXT record with more than 1024 characters in value should not have given error.
Actual Behaviour
Following error is generated, when the string length for Azure DNS TXT record goes beyond 1024:
Error: expected length of record.0.value to be in the range (1 - 1024)
Steps to Reproduce
1.) Add the config suggested in this Issue.
2.) Run Terraform Validate.
3.) Terraform throws error.
Important Factoids
No response
References
The multiple strings in a DNS record shouldn't be confused with the multiple TXT records in a TXT record set. A TXT record set can contain multiple records, each of which can contain multiple strings. Azure DNS supports a total string length of up to 4096 characters* in each TXT record set (across all records combined).
The text was updated successfully, but these errors were encountered: