Skip to content

Commit

Permalink
azurerm_private_dns_cname_record - update the validation of ttl (hash…
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-yechenwei authored Nov 17, 2023
1 parent a47d671 commit 0a0469e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ resource "azurerm_private_dns_cname_record" "test" {
name = "acctestcname%d"
resource_group_name = azurerm_resource_group.test.name
zone_name = azurerm_private_dns_zone.test.name
ttl = 300
ttl = 0
record = "test.contoso.com"
}
`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.RandomInteger)
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/private_dns_cname_record.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The following arguments are supported:

* `zone_name` - (Required) Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.

* `ttl` - (Required) The Time To Live (TTL) of the DNS record in seconds.
* `ttl` - (Required) The Time To Live (TTL) of the DNS record in seconds. Possible values are between `0` and `2147483647`.

* `record` - (Required) The target of the CNAME.

Expand Down

0 comments on commit 0a0469e

Please sign in to comment.