Merge pull request #175 from lessloop/fix-docs
Fix typo and format in docs
This commit is contained in:
commit
cc2cfb8156
|
@ -20,7 +20,7 @@ An error is triggered if the provided volume name does not exist.
|
|||
Get the volume:
|
||||
|
||||
```hcl
|
||||
data "digitalocean_volume "example" {
|
||||
data "digitalocean_volume" "example" {
|
||||
name = "app-data"
|
||||
region = "nyc3"
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ data "digitalocean_volume "example" {
|
|||
Reuse the data about a volume to attach it to a Droplet:
|
||||
|
||||
```hcl
|
||||
data "digitalocean_volume "example" {
|
||||
data "digitalocean_volume" "example" {
|
||||
name = "app-data"
|
||||
region = "nyc3"
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ resources.
|
|||
|
||||
Get the volume snapshot:
|
||||
|
||||
```
|
||||
```hcl
|
||||
data "digitalocean_volume_snapshot" "snapshot" {
|
||||
name_regex = "^web"
|
||||
region = "nyc3"
|
||||
|
@ -26,7 +26,7 @@ data "digitalocean_volume_snapshot" "snapshot" {
|
|||
|
||||
Reuse the data about a volume snapshot to create a new volume based on it:
|
||||
|
||||
```
|
||||
```hcl
|
||||
data "digitalocean_volume_snapshot" "snapshot" {
|
||||
name_regex = "^web"
|
||||
region = "nyc3"
|
||||
|
|
Loading…
Reference in New Issue