Skip to content

Commit

Permalink
azurerm_dns_txt_record - Update dns txt resource max string (#24169)
Browse files Browse the repository at this point in the history
* updated max string

* updated markdown

* fixed markdown

* Update dns_txt_record_resource_test.go

Testing reducing size.

* Update dns_txt_record_resource_test.go

reverted test string

* updated test

* reverted test
  • Loading branch information
mikemadeja committed Dec 12, 2023
1 parent 8477e02 commit 81390e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 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

0 comments on commit 81390e1

Please sign in to comment.