terraform/vendor/github.com/jen20/riviera/dns
Paul Stack 5644545680 provider/azurerm: DNS CNAME resource wasn't posting records (#7113)
* provider/azurerm: DNS CNAME resource wasn't posting records

Azure changed the API for CNAME at some point and since then we haven't
been creating CNAME records. The API changes from []records to a single
record

This PR changes the schema for dns cnames to have a record parameter and
adds a deprecation warning around records. Talked with @jen20 on this
and we decided that it's currently broken and we should handle this as
part of 0.7 where there are other breaking changes

```
TF_LOG=1 make testacc TEST=./builtin/providers/azurerm
TESTARGS='-run=TestAccAzureRMDnsCNameRecord' 2>~/tf.log
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/azurerm -v
-run=TestAccAzureRMDnsCNameRecord -timeout 120m
=== RUN   TestAccAzureRMDnsCNameRecord_basic
--- PASS: TestAccAzureRMDnsCNameRecord_basic (97.22s)
=== RUN   TestAccAzureRMDnsCNameRecord_subdomain
--- PASS: TestAccAzureRMDnsCNameRecord_subdomain (94.94s)
=== RUN   TestAccAzureRMDnsCNameRecord_updateRecords
--- PASS: TestAccAzureRMDnsCNameRecord_updateRecords (116.62s)
```

* Change DNS Records to removed rather than deprecated
2016-06-10 23:53:32 +02:00
..
api.go provider/azurerm: Add the DNS A Record Resource 2016-02-05 11:28:48 +00:00
create_dns_a_recordset.go provider/azurerm: Add the DNS A Record Resource 2016-02-05 11:28:48 +00:00
create_dns_aaaa_recordset.go provider/azurerm: Add the DNS A Record Resource 2016-02-05 11:28:48 +00:00
create_dns_cname_recordset.go provider/azurerm: DNS CNAME resource wasn't posting records (#7113) 2016-06-10 23:53:32 +02:00
create_dns_mx_recordset.go provider/azurerm: Add the DNS A Record Resource 2016-02-05 11:28:48 +00:00
create_dns_ns_recordset.go provider/azurerm: Add the DNS A Record Resource 2016-02-05 11:28:48 +00:00
create_dns_srv_recordset.go provider/azurerm: Add the DNS A Record Resource 2016-02-05 11:28:48 +00:00
create_dns_txt_recordset.go provider/azurerm: Add `azurerm_dns_txt_record` resource 2016-02-06 18:43:53 +00:00
create_dns_zone.go provider/azurerm: Adding azurerm_sql_database resource 2016-02-04 23:36:50 +00:00
delete_dns_recordset.go provider/azurerm: Add the DNS A Record Resource 2016-02-05 11:28:48 +00:00
delete_dns_zone.go provider/azurerm: Adding azurerm_sql_database resource 2016-02-04 23:36:50 +00:00
get_dns_a_recordset.go provider/azurerm: Add the DNS A Record Resource 2016-02-05 11:28:48 +00:00
get_dns_aaaa_recordset.go provider/azurerm: Add the DNS A Record Resource 2016-02-05 11:28:48 +00:00
get_dns_cname_recordset.go provider/azurerm: DNS CNAME resource wasn't posting records (#7113) 2016-06-10 23:53:32 +02:00
get_dns_mx_recordset.go provider/azurerm: Add the DNS A Record Resource 2016-02-05 11:28:48 +00:00
get_dns_ns_recordset.go provider/azurerm: Add the DNS A Record Resource 2016-02-05 11:28:48 +00:00
get_dns_soa_recordset.go provider/azurerm: Add `azurerm_dns_srv_record` resource 2016-02-07 21:49:02 +00:00
get_dns_srv_recordset.go provider/azurerm: Add the DNS A Record Resource 2016-02-05 11:28:48 +00:00
get_dns_txt_recordset.go provider/azurerm: Add `azurerm_dns_txt_record` resource 2016-02-06 18:43:53 +00:00
get_dns_zone.go provider/azurerm: Adding azurerm_sql_database resource 2016-02-04 23:36:50 +00:00
update_dns_soa_recordset.go provider/azurerm: Add `azurerm_dns_srv_record` resource 2016-02-07 21:49:02 +00:00