From 1d6c7f35b6f54751a6ed25ca3aabc5b3a083a0ca Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Mon, 10 Apr 2017 12:22:13 -0400 Subject: [PATCH] Update dns provider --- .../dns/d/dns_a_record_set.html.markdown | 6 +++--- .../dns/d/dns_cname_record_set.html.markdown | 6 +++--- .../dns/d/dns_txt_record_set.html.markdown | 6 +++--- .../docs/providers/dns/index.html.markdown | 2 +- .../dns/r/dns_a_record_set.html.markdown | 21 +++++++++++-------- .../dns/r/dns_aaaa_record_set.html.markdown | 20 ++++++++++-------- .../dns/r/dns_cname_record.html.markdown | 17 +++++++-------- .../dns/r/dns_ptr_record.html.markdown | 17 +++++++-------- 8 files changed, 49 insertions(+), 46 deletions(-) diff --git a/website/source/docs/providers/dns/d/dns_a_record_set.html.markdown b/website/source/docs/providers/dns/d/dns_a_record_set.html.markdown index b4432197c..1ec48117d 100644 --- a/website/source/docs/providers/dns/d/dns_a_record_set.html.markdown +++ b/website/source/docs/providers/dns/d/dns_a_record_set.html.markdown @@ -6,13 +6,13 @@ description: |- Get DNS A record set. --- -# dns\_a\_record\_set +# dns_a_record_set Use this data source to get DNS A records of the host. ## Example Usage -``` +```hcl data "dns_a_record_set" "google" { host = "google.com" } @@ -34,4 +34,4 @@ The following attributes are exported: * `id` - Set to `host`. - * `addrs` - A list of IP addresses. IP addresses are always sorted to avoid constant changing plans. \ No newline at end of file + * `addrs` - A list of IP addresses. IP addresses are always sorted to avoid constant changing plans. diff --git a/website/source/docs/providers/dns/d/dns_cname_record_set.html.markdown b/website/source/docs/providers/dns/d/dns_cname_record_set.html.markdown index b230fbbe9..6d7ad48e2 100644 --- a/website/source/docs/providers/dns/d/dns_cname_record_set.html.markdown +++ b/website/source/docs/providers/dns/d/dns_cname_record_set.html.markdown @@ -6,13 +6,13 @@ description: |- Get DNS CNAME record set. --- -# dns\_cname\_record\_set +# dns_cname_record_set Use this data source to get DNS CNAME record set of the host. ## Example Usage -``` +```hcl data "dns_cname_record_set" "hashicorp" { host = "www.hashicorp.com" } @@ -34,4 +34,4 @@ The following attributes are exported: * `id` - Set to `host`. - * `cname` - A CNAME record associated with host. \ No newline at end of file + * `cname` - A CNAME record associated with host. diff --git a/website/source/docs/providers/dns/d/dns_txt_record_set.html.markdown b/website/source/docs/providers/dns/d/dns_txt_record_set.html.markdown index ab50c7ea2..bb18dc915 100644 --- a/website/source/docs/providers/dns/d/dns_txt_record_set.html.markdown +++ b/website/source/docs/providers/dns/d/dns_txt_record_set.html.markdown @@ -6,13 +6,13 @@ description: |- Get DNS TXT record set. --- -# dns\_txt\_record\_set +# dns_txt_record_set Use this data source to get DNS TXT record set of the host. ## Example Usage -``` +```hcl data "dns_txt_record_set" "hashicorp" { host = "www.hashicorp.com" } @@ -40,4 +40,4 @@ The following attributes are exported: * `record` - The first TXT record. - * `records` - A list of TXT records. \ No newline at end of file + * `records` - A list of TXT records. diff --git a/website/source/docs/providers/dns/index.html.markdown b/website/source/docs/providers/dns/index.html.markdown index 46b18fdff..d24a65adf 100644 --- a/website/source/docs/providers/dns/index.html.markdown +++ b/website/source/docs/providers/dns/index.html.markdown @@ -14,7 +14,7 @@ Use the navigation to the left to read about the available resources. ## Example Usage -``` +```hcl # Configure the DNS Provider provider "dns" { update { diff --git a/website/source/docs/providers/dns/r/dns_a_record_set.html.markdown b/website/source/docs/providers/dns/r/dns_a_record_set.html.markdown index aa3508304..72b726fe4 100644 --- a/website/source/docs/providers/dns/r/dns_a_record_set.html.markdown +++ b/website/source/docs/providers/dns/r/dns_a_record_set.html.markdown @@ -6,19 +6,23 @@ description: |- Creates a A type DNS record set. --- -# dns\_a\_record\_set +# dns_a_record_set Creates a A type DNS record set. ## Example Usage -``` - resource "dns_a_record_set" "www" { - zone = "example.com." - name = "www" - addresses = ["192.168.0.1", "192.168.0.2", "192.168.0.3"] - ttl = 300 - } +```hcl +resource "dns_a_record_set" "www" { + zone = "example.com." + name = "www" + addresses = [ + "192.168.0.1", + "192.168.0.2", + "192.168.0.3", + ] + ttl = 300 +} ``` ## Argument Reference @@ -38,4 +42,3 @@ The following attributes are exported: * `name` - See Argument Reference above. * `addresses` - See Argument Reference above. * `ttl` - See Argument Reference above. - diff --git a/website/source/docs/providers/dns/r/dns_aaaa_record_set.html.markdown b/website/source/docs/providers/dns/r/dns_aaaa_record_set.html.markdown index 27e157790..7cbf89599 100644 --- a/website/source/docs/providers/dns/r/dns_aaaa_record_set.html.markdown +++ b/website/source/docs/providers/dns/r/dns_aaaa_record_set.html.markdown @@ -6,19 +6,22 @@ description: |- Creates a AAAA type DNS record set. --- -# dns\_aaaa\_record\_set +# dns_aaaa_record_set Creates a AAAA type DNS record set. ## Example Usage -``` - resource "dns_aaaa_record_set" "www" { - zone = "example.com." - name = "www" - addresses = ["fdd5:e282:43b8:5303:dead:beef:cafe:babe", "fdd5:e282:43b8:5303:cafe:babe:dead:beef"] - ttl = 300 - } +```hcl +resource "dns_aaaa_record_set" "www" { + zone = "example.com." + name = "www" + addresses = [ + "fdd5:e282:43b8:5303:dead:beef:cafe:babe", + "fdd5:e282:43b8:5303:cafe:babe:dead:beef", + ] + ttl = 300 +} ``` ## Argument Reference @@ -38,4 +41,3 @@ The following attributes are exported: * `name` - See Argument Reference above. * `addresses` - See Argument Reference above. * `ttl` - See Argument Reference above. - diff --git a/website/source/docs/providers/dns/r/dns_cname_record.html.markdown b/website/source/docs/providers/dns/r/dns_cname_record.html.markdown index 638ecc9aa..914716850 100644 --- a/website/source/docs/providers/dns/r/dns_cname_record.html.markdown +++ b/website/source/docs/providers/dns/r/dns_cname_record.html.markdown @@ -6,19 +6,19 @@ description: |- Creates a CNAME type DNS record. --- -# dns\_cname\_record +# dns_cname_record Creates a CNAME type DNS record. ## Example Usage -``` - resource "dns_cname_record" "foo" { - zone = "example.com." - name = "foo" - cname = "bar.example.com." - ttl = 300 - } +```hcl +resource "dns_cname_record" "foo" { + zone = "example.com." + name = "foo" + cname = "bar.example.com." + ttl = 300 +} ``` ## Argument Reference @@ -38,4 +38,3 @@ The following attributes are exported: * `name` - See Argument Reference above. * `cname` - See Argument Reference above. * `ttl` - See Argument Reference above. - diff --git a/website/source/docs/providers/dns/r/dns_ptr_record.html.markdown b/website/source/docs/providers/dns/r/dns_ptr_record.html.markdown index ebbbfb999..14c0e31ca 100644 --- a/website/source/docs/providers/dns/r/dns_ptr_record.html.markdown +++ b/website/source/docs/providers/dns/r/dns_ptr_record.html.markdown @@ -6,19 +6,19 @@ description: |- Creates a PTR type DNS record. --- -# dns\_ptr\_record +# dns_ptr_record Creates a PTR type DNS record. ## Example Usage -``` - resource "dns_ptr_record" "dns-sd" { - zone = "example.com." - name = "r._dns-sd" - ptr = "example.com." - ttl = 300 - } +```hcl +resource "dns_ptr_record" "dns-sd" { + zone = "example.com." + name = "r._dns-sd" + ptr = "example.com." + ttl = 300 +} ``` ## Argument Reference @@ -38,4 +38,3 @@ The following attributes are exported: * `name` - See Argument Reference above. * `ptr` - See Argument Reference above. * `ttl` - See Argument Reference above. -