mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-06 17:16:44 +00:00
Add support for using GCP Image Family names. (#8083)
This commit is contained in:
parent
a21fc31e00
commit
6737e59577
@ -112,8 +112,9 @@ the type is "local-ssd", in which case scratch must be true).
|
||||
`google_compute_disk`) to attach.
|
||||
|
||||
* `image` - 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).
|
||||
disk. Either the full URL, a contraction of the form "project/name", an
|
||||
[image family](https://cloud.google.com/compute/docs/images#image_families),
|
||||
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. Leave true for local SSDs.
|
||||
@ -195,4 +196,3 @@ exported:
|
||||
* `network_interface.0.address` - The internal ip address of the instance, either manually or dynamically assigned.
|
||||
|
||||
* `network_interface.0.access_config.0.assigned_nat_ip` - If the instance has an access config, either the given external ip (in the `nat_ip` field) or the ephemeral (generated) ip (if you didn't provide one).
|
||||
|
||||
|
@ -169,7 +169,7 @@ The `disk` block supports:
|
||||
to the name of the instance.
|
||||
|
||||
* `source_image` - (Required if source not set) The name of the image to base
|
||||
this disk off of.
|
||||
this disk off of. Accepts same arguments as a [google_compute_instance image](https://www.terraform.io/docs/providers/google/r/compute_instance.html#image).
|
||||
|
||||
* `interface` - (Optional) Specifies the disk interface to use for attaching
|
||||
this disk.
|
||||
|
Loading…
Reference in New Issue
Block a user