mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-01 16:21:06 +00:00
Allow specifying project or full URL when specifying image
This commit is contained in:
parent
485e6b550d
commit
a98e9e89c7
@ -30,7 +30,9 @@ The following arguments are supported:
|
||||
|
||||
* `zone` - (Required) The zone where this disk will be available.
|
||||
|
||||
* `image` - (Optional) The machine image to base this disk off of.
|
||||
* `image` - (Optional) The image from which to initialize this disk. Either the full URL, a
|
||||
contraction of the form "project/name", or just a name (in which case the current project is
|
||||
used).
|
||||
|
||||
* `size` - (Optional) The size of the image in gigabytes. If not specified,
|
||||
it will inherit the size of its base image.
|
||||
|
@ -73,8 +73,9 @@ The `disk` block supports:
|
||||
* `disk` - (Required if image not set) The name of the disk (such as
|
||||
those managed by `google_compute_disk`) to attach.
|
||||
|
||||
* `image` - (Required if disk not set) The name of the image to base
|
||||
this disk off of.
|
||||
* `image` - (Required if disk not set) The image from which to initialize this
|
||||
disk. Either the full URL, a contraction of the form "project/name", or just
|
||||
a name (in which case the current project is used).
|
||||
|
||||
* `auto_delete` - (Optional) Whether or not the disk should be auto-deleted.
|
||||
This defaults to true.
|
||||
|
Loading…
Reference in New Issue
Block a user