Skip to content

Commit ae65c3a

Browse files
committed
docs: Update DigitalOcean resource pages
Specifically: - User data is available in all regions, so remove the sentence saying to check for supported features in each region. - Clarify domain vs. DNS record resources. - Explain which DNS record types the `weight`, `port`, and `priority` arguments are applicable for.
1 parent 3630bb0 commit ae65c3a

3 files changed

Lines changed: 9 additions & 10 deletions

File tree

website/source/docs/providers/do/r/domain.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Provides a DigitalOcean domain resource.
1313
## Example Usage
1414

1515
```
16-
# Create a new domain record
16+
# Create a new domain
1717
resource "digitalocean_domain" "default" {
1818
name = "www.example.com"
1919
ip_address = "${digitalocean_droplet.foo.ipv4_address}"
@@ -43,4 +43,4 @@ Domains can be imported using the `domain name`, e.g.
4343

4444
```
4545
terraform import digitalocean_domain.mydomain mytestdomain.com
46-
```
46+
```

website/source/docs/providers/do/r/droplet.html.markdown

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ The following arguments are supported:
4848
* `tags` - (Optional) A list of the tags to label this droplet. A tag resource
4949
must exist before it can be associated with a droplet.
5050
* `user_data` (Optional) - A string of the desired User Data for the Droplet.
51-
User Data is currently only available in regions with metadata
52-
listed in their features.
5351
* `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.
5452

5553
## Attributes Reference

website/source/docs/providers/do/r/record.html.markdown

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ layout: "digitalocean"
33
page_title: "DigitalOcean: digitalocean_record"
44
sidebar_current: "docs-do-resource-record"
55
description: |-
6-
Provides a DigitalOcean domain resource.
6+
Provides a DigitalOcean DNS record resource.
77
---
88

99
# digitalocean\_record
1010

11-
Provides a DigitalOcean domain resource.
11+
Provides a DigitalOcean DNS record resource.
1212

1313
## Example Usage
1414

1515
```
16-
# Create a new domain record
16+
# Create a new domain
1717
resource "digitalocean_domain" "default" {
1818
name = "www.example.com"
1919
ip_address = "${digitalocean_droplet.foo.ipv4_address}"
@@ -36,9 +36,10 @@ The following arguments are supported:
3636
* `domain` - (Required) The domain to add the record to
3737
* `value` - (Optional) The value of the record
3838
* `name` - (Optional) The name of the record
39-
* `weight` - (Optional) The weight of the record
40-
* `port` - (Optional) The port of the record
41-
* `priority` - (Optional) The priority of the record
39+
* `weight` - (Optional) The weight of the record, for SRV records.
40+
* `port` - (Optional) The port of the record, for SRV records.
41+
* `priority` - (Optional) The priority of the record, for MX and SRV
42+
records.
4243

4344
## Attributes Reference
4445

0 commit comments

Comments
 (0)