Merge branch 'goloroden-patch-1'
This commit is contained in:
commit
3392b3a764
|
@ -13,7 +13,18 @@ Provides a DNSimple record resource.
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
# Add a record to the domain
|
# Add a record to the root domain
|
||||||
|
resource "dnsimple_record" "foobar" {
|
||||||
|
domain = "${var.dnsimple_domain}"
|
||||||
|
name = ""
|
||||||
|
value = "192.168.0.11"
|
||||||
|
type = "A"
|
||||||
|
ttl = 3600
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
# Add a record to a sub-domain
|
||||||
resource "dnsimple_record" "foobar" {
|
resource "dnsimple_record" "foobar" {
|
||||||
domain = "${var.dnsimple_domain}"
|
domain = "${var.dnsimple_domain}"
|
||||||
name = "terraform"
|
name = "terraform"
|
||||||
|
@ -33,6 +44,7 @@ The following arguments are supported:
|
||||||
* `type` - (Required) The type of the record
|
* `type` - (Required) The type of the record
|
||||||
* `ttl` - (Optional) The TTL of the record
|
* `ttl` - (Optional) The TTL of the record
|
||||||
|
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
|
||||||
The following attributes are exported:
|
The following attributes are exported:
|
||||||
|
@ -45,4 +57,3 @@ The following attributes are exported:
|
||||||
* `priority` - The priority of the record
|
* `priority` - The priority of the record
|
||||||
* `domain_id` - The domain ID of the record
|
* `domain_id` - The domain ID of the record
|
||||||
* `hostname` - The FQDN of the record
|
* `hostname` - The FQDN of the record
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue