Update documentation to reflect reality
From the code: "records": &schema.Schema{ Type: schema.TypeString, Optional: true, Elem: &schema.Schema{Type: schema.TypeString}, Set: schema.HashString, Removed: "Use `record` instead. This attribute will be removed in a future version", }, "record": &schema.Schema{ Type: schema.TypeString, Required: true,
This commit is contained in:
parent
b4b9f1e74c
commit
fbbfe67bb5
|
@ -28,7 +28,7 @@ resource "azurerm_dns_cname_record" "test" {
|
||||||
zone_name = "${azurerm_dns_zone.test.name}"
|
zone_name = "${azurerm_dns_zone.test.name}"
|
||||||
resource_group_name = "${azurerm_resource_group.test.name}"
|
resource_group_name = "${azurerm_resource_group.test.name}"
|
||||||
ttl = "300"
|
ttl = "300"
|
||||||
records = ["contoso.com"]
|
record = "contoso.com"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
## Argument Reference
|
## Argument Reference
|
||||||
|
@ -43,7 +43,7 @@ The following arguments are supported:
|
||||||
|
|
||||||
* `TTL` - (Required) The Time To Live (TTL) of the DNS record.
|
* `TTL` - (Required) The Time To Live (TTL) of the DNS record.
|
||||||
|
|
||||||
* `records` - (Required) The target of the CNAME. Must be a single value.
|
* `record` - (Required) The target of the CNAME.
|
||||||
|
|
||||||
* `tags` - (Optional) A mapping of tags to assign to the resource.
|
* `tags` - (Optional) A mapping of tags to assign to the resource.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue