Merge pull request #9762 from NicholasPCole/do-provider-docs-update

provider/digitalocean: Update resource docs for website
This commit is contained in:
Mitchell Hashimoto 2016-11-01 00:45:33 -07:00 committed by GitHub
commit 113b6fc7bc
3 changed files with 9 additions and 10 deletions

View File

@ -13,7 +13,7 @@ Provides a DigitalOcean domain resource.
## Example Usage ## Example Usage
``` ```
# Create a new domain record # Create a new domain
resource "digitalocean_domain" "default" { resource "digitalocean_domain" "default" {
name = "www.example.com" name = "www.example.com"
ip_address = "${digitalocean_droplet.foo.ipv4_address}" ip_address = "${digitalocean_droplet.foo.ipv4_address}"

View File

@ -48,8 +48,6 @@ The following arguments are supported:
* `tags` - (Optional) A list of the tags to label this droplet. A tag resource * `tags` - (Optional) A list of the tags to label this droplet. A tag resource
must exist before it can be associated with a droplet. must exist before it can be associated with a droplet.
* `user_data` (Optional) - A string of the desired User Data for the Droplet. * `user_data` (Optional) - A string of the desired User Data for the Droplet.
User Data is currently only available in regions with metadata
listed in their features.
* `volume_ids` (Optional) - A list of the IDs of each [block storage volume](/docs/providers/do/r/volume.html) to be attached to the Droplet. * `volume_ids` (Optional) - A list of the IDs of each [block storage volume](/docs/providers/do/r/volume.html) to be attached to the Droplet.
## Attributes Reference ## Attributes Reference

View File

@ -3,17 +3,17 @@ layout: "digitalocean"
page_title: "DigitalOcean: digitalocean_record" page_title: "DigitalOcean: digitalocean_record"
sidebar_current: "docs-do-resource-record" sidebar_current: "docs-do-resource-record"
description: |- description: |-
Provides a DigitalOcean domain resource. Provides a DigitalOcean DNS record resource.
--- ---
# digitalocean\_record # digitalocean\_record
Provides a DigitalOcean domain resource. Provides a DigitalOcean DNS record resource.
## Example Usage ## Example Usage
``` ```
# Create a new domain record # Create a new domain
resource "digitalocean_domain" "default" { resource "digitalocean_domain" "default" {
name = "www.example.com" name = "www.example.com"
ip_address = "${digitalocean_droplet.foo.ipv4_address}" ip_address = "${digitalocean_droplet.foo.ipv4_address}"
@ -36,9 +36,10 @@ The following arguments are supported:
* `domain` - (Required) The domain to add the record to * `domain` - (Required) The domain to add the record to
* `value` - (Optional) The value of the record * `value` - (Optional) The value of the record
* `name` - (Optional) The name of the record * `name` - (Optional) The name of the record
* `weight` - (Optional) The weight of the record * `weight` - (Optional) The weight of the record, for SRV records.
* `port` - (Optional) The port of the record * `port` - (Optional) The port of the record, for SRV records.
* `priority` - (Optional) The priority of the record * `priority` - (Optional) The priority of the record, for MX and SRV
records.
## Attributes Reference ## Attributes Reference