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:
Adam Hoka 2017-04-03 14:11:25 +02:00 committed by GitHub
parent b4b9f1e74c
commit fbbfe67bb5
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ resource "azurerm_dns_cname_record" "test" {
zone_name = "${azurerm_dns_zone.test.name}"
resource_group_name = "${azurerm_resource_group.test.name}"
ttl = "300"
records = ["contoso.com"]
record = "contoso.com"
}
```
## Argument Reference
@ -43,7 +43,7 @@ The following arguments are supported:
* `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.