Skip to content

Commit

Permalink
Update documentation to reflect reality
Browse files Browse the repository at this point in the history
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,
  • Loading branch information
ahoka authored Apr 3, 2017
1 parent b4b9f1e commit fbbfe67
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.

Expand Down

0 comments on commit fbbfe67

Please sign in to comment.