Add support for using source_disk to google_compute_image (#9614)

This commit is contained in:
Christoph Blecker 2016-11-01 03:32:47 -07:00 committed by Paul Stack
parent ad6d146203
commit 5ac73bfd16

View File

@ -40,14 +40,18 @@ resource "google_compute_instance" "vm" {
## Argument Reference ## Argument Reference
The following arguments are supported: The following arguments are supported: (Note that one of either source_disk or
raw_disk is required)
* `name` - (Required) A unique name for the resource, required by GCE. * `name` - (Required) A unique name for the resource, required by GCE.
Changing this forces a new resource to be created. Changing this forces a new resource to be created.
* `raw_disk` - (Required) The raw disk that will be used as the source of * `source_disk` - The URL of a disk that will be used as the source of the
the image. Changing this forces a new resource to be created. image. Changing this forces a new resource to be created.
Structure is documented below.
* `raw_disk` - The raw disk that will be used as the source of the image.
Changing this forces a new resource to be created. Structure is documented
below.
The `raw_disk` block supports: The `raw_disk` block supports: