Skip to content

Commit

Permalink
Allow setting boot and attached disk sources by name or self link (ha…
Browse files Browse the repository at this point in the history
…shicorp#605)

* disk cleanup

* fix attached disk test

* allow disk sources from name or url

* parse disk source better on read

* update docs

* fix boot disk source url
  • Loading branch information
danawillow authored Oct 23, 2017
1 parent 65632a9 commit 1de36cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/r/compute_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ The `boot_disk` block supports:
alongside the new instance. Either `initialize_params` or `source` must be set.
Structure is documented below.

* `source` - (Optional) The name of the existing disk (such as those managed by
* `source` - (Optional) The name or self_link of the existing disk (such as those managed by
`google_compute_disk`) to attach.

The `initialize_params` block supports:
Expand All @@ -153,7 +153,7 @@ The `scratch_disk` block supports:

The `attached_disk` block supports:

* `source` - (Required) The self_link of the disk to attach to this instance.
* `source` - (Required) The name or self_link of the disk to attach to this instance.

* `device_name` - (Optional) Name with which the attached disk will be accessible
under `/dev/disk/by-id/`
Expand Down

0 comments on commit 1de36cd

Please sign in to comment.